Search found 8 matches

by Lizzard
Thu Mar 08, 2018 11:41 pm
Forum: Amplify Shader Editor
Topic: How do I invert color on shader? Inside out shader?
Replies: 4
Views: 7119

Re: How do I invert color on shader? Inside out shader?

Set "Cull Mode" to "Off" maybe?
by Lizzard
Thu Mar 08, 2018 4:29 pm
Forum: Amplify Shader Editor
Topic: Blinn-Phong Light ShaderFunction doesn't work with Deferred
Replies: 9
Views: 18248

Re: Blinn-Phong Light ShaderFunction doesn't work with Defer

The weird thing is, that this also happens to Unitys legacy Bumped Specular shader.
So i guess the problem is unrelated to the Amplify Editor.
Hmmm..
by Lizzard
Wed Mar 07, 2018 10:52 pm
Forum: Amplify Shader Editor
Topic: Blinn-Phong Light ShaderFunction doesn't work with Deferred
Replies: 9
Views: 18248

Re: Blinn-Phong Light ShaderFunction doesn't work with Defer

Thank you, that works!

But i bumped into a new issue. It seems like the "Blinn Phong" Light model specular ignores the normal map.
Anything i can do about that?

I've attached an image. Left is my shader and right is unitys Standard shader.

[EDIT]
The issues is completely gone if i switch to ...
by Lizzard
Tue Mar 06, 2018 9:33 pm
Forum: Amplify Shader Editor
Topic: Blinn-Phong Light ShaderFunction doesn't work with Deferred
Replies: 9
Views: 18248

Re: Blinn-Phong Light ShaderFunction doesn't work with Defer

Ah i see, that works.
But i don't like having to edit the shader everytime i make some changes.

So "Gloss" seems to not control the glossiness at all. Instead it changes the specular intensity.
The "Specular" changes the glossiness.
That's just super weird, why does it behave like that?

[EDIT]
Oh ...
by Lizzard
Tue Mar 06, 2018 6:10 pm
Forum: Amplify Shader Editor
Topic: Blinn-Phong Light ShaderFunction doesn't work with Deferred
Replies: 9
Views: 18248

Re: Blinn-Phong Light ShaderFunction doesn't work with Defer

Thanks for your answer!

I'm not very comfortable with shader programming, that's why i use a visual shader editor : P.
But i'll see what i can do!

Another question:
Why does the default Light Model "Blinn Phong" act so weird?
If you input a color into its "Specular" slot, i'm expecting to control ...
by Lizzard
Tue Mar 06, 2018 2:23 pm
Forum: Amplify Shader Editor
Topic: Blinn-Phong Light ShaderFunction doesn't work with Deferred
Replies: 9
Views: 18248

Blinn-Phong Light ShaderFunction doesn't work with Deferred

Hello!

I just noticed that using the "Blinn-Phong Light" Shader Function doesn't work in Deferred render path.
What is the reason for that? All the other default Light Models work fine.
by Lizzard
Mon Feb 26, 2018 6:08 pm
Forum: Amplify Shader Editor
Topic: Custom property headers?
Replies: 3
Views: 5687

Re: Custom property headers?

Thanks for the quick answer!

I guess the additional work would not be worth it then.
I could add the headers by quickly editing the script but then it gets overwritten when i recompile the shader : (.
It would look so nice tho...


EDIT:
Well, i just added a bunch of empty functions. Not the best ...
by Lizzard
Mon Feb 26, 2018 2:29 pm
Forum: Amplify Shader Editor
Topic: Custom property headers?
Replies: 3
Views: 5687

Custom property headers?

Hello!

I'm working on a shader that has quite a lot of properties.
It gets quite messy if they are all in one row without separation.

I noticed that the name of my custom light function (My Blinn-Phong Light) gets added as bold header.
Is there a way to add custom headers like that so i can ...