- Home /
How to change ZWrite in transparency shaders
Hello, I am currently struggling with transparency shaders in Unity. I need to enable ZWrite On to get satisfying results but it seems to be disabled somewhere inside Lambert alpha shader and I have no idea where can I download or hw can i modify this shader. Changing ZWrite on in Alpha-Diffuse didn't change anything because I presume it's again changed somewhere inside this Lambert alpha shader. It's called like #pragma surface surf Lambert inside Alpha-Diffuse shader.
Your answer
Follow this Question
Related Questions
Fading objects to transparent - Apply shader with a script? 2 Answers
Shader that makes object transparent as light hits it 0 Answers
Don't render an Area behind a plane 0 Answers
What is happening with sprite transparency in the standard shader in unity 5.6? 1 Answer
Shader that renders pixel with highest alpha value? 0 Answers