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.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
3 People are following this question.
Strumpy Shader Editor: Transparency Issues
How to make a specular shader fully transparent
Making the Specular map separate in a shader (not as alpha)?
Unity Shader: Specular reflection as Alpha Value.
specular shader alpha not working?