- Home /
Question by
artie · May 13, 2013 at 04:35 PM ·
shadertransparencyculling
Is there a 'do not draw' shader?
I have an odd case. I have a multi-material mesh that I cannot modify, but there are some submeshes I need to not draw at all. Like totally transparent. I can change the mamterials on those submeshes tho. But making them totally transparent seems like overkill, if I could have a shader that culls both front and back faces(?) Would that work? Basically, 'ignore this face completely' ?
Comment
Best Answer
Answer by Eric5h5 · May 13, 2013 at 05:06 PM
As far as I know:
Shader "Nothing" {
SubShader {
Colormask 0 Zwrite Off
Pass {}
}
}