- Home /
Shader with both Transparent and Fade as render mode
Is it possible to write a shader that can both be transparent with specular and fade out? Like having a glass shader that can fade away.
I currently have a custom shader that fades out, using #pragma alpha:fade can you add or combine multiple optional parameters like this? And how would one code the difference between Transparency and Fade, there is only the alpha property in the shader? Could one remove the specular?
Your answer
![](https://koobas.hobune.stream/wayback/20220612102054im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Shader is not displaying alpha correctly 0 Answers
Metallic/Specular map broke fading in build 0 Answers
Transparent/Specular Shader - I want alpha to control spec, not transparency 1 Answer
Making the objects infront of the primary hero translucent? 1 Answer
Issues with fade Transparency overlaping front polygons in a same Mesh. 1 Answer