Hello,
Does anyone have a shader that doesn’t cull backfaces? I have a few models that are based on plane shapes and from the back they are transparent. A bumped Specular one would be great, but I’m not picky, I just need to get the back sides showing up.
Thanks a bunch,
MegaBender:(
Use “Cull Off” in a shader.
–Eric
Aye, I’m not sure where to place that command in the built-in unity shader “bumped specular”. I tried to add it, but I don’t think I put it in the right location:( for, it did not work. Could you point me in the right direction?
Thanks,
MegaBender
(...snip..)
SubShader {
Tags { "RenderType"="Opaque" }
LOD 200
Cull Off
CGPROGRAM
#pragma surface surf Lambert
(...snip...)
Put it in the SubShader somewhere.
–Eric
Thanks a bunch, works perfectly…
Peace
MegaBender:)
I placed Cull Off in the subshader of a Bumped Specular shader, but it won’t work. Any idea what I might be doing wrong?
Post your code. Tends to help.