- Home /
Question by
powdered_swords · Jun 29, 2013 at 03:55 PM ·
cameramaterialpasssetpass
Is it possible to restrict which subshader pass to use with Cameras
I've attempted to use Material.SetPass(0)
however my camera still appears to render both passes instead of just the first. Is this method restricted to the GL class or am I just doing something wrong?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613105134im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
GL.End requires material.SetPass before! Still with 5.6.0f3. Happens with a default scene. 2 Answers
How does Unity handle alpha sorting? 2 Answers
Help with Texture following Camera!/How to create an effect like this in Unity 3d? 1 Answer
How to make camera position relative to a specific target. 1 Answer
LWRP: Set custom shader at runtime 1 Answer