I'm trying to build a glass-like shader with the Strumpy Shader Editor on Unity Free, but the specular highlighting is effected by the alpha... I want the highlights to appear at full strength regardless of alpha. Does anybody know how I might be able to get around that?
Answer by CgShady
Dec 01, 2011 at 04:42 PM
This requires ADDITIVE MULTI PASS. I believe it can be achieved with SSE by simply going to the settings of your shader, and change the Blend Type to Decal Add, or Custom and Choose One for both Src and Dst Blend Modes.
Hope this helps, I haven't tried it myself, but from my shader writing experience, it should work this way.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
3 People are following this question.
Making the Specular map separate in a shader (not as alpha)?
specular shader alpha not working?
Unity Shader: Specular reflection as Alpha Value.
How to make a specular shader fully transparent