0
Driving opacity clip with NdotL
I think this is a bug - Try taking NdotL lighting, feeding it through a component mask to get a single channel, then running that channel into Opacity Clip. It compiles fine, but the Unity throws a shader error and the model turns pink.
"Shader error in <shader> :"lightDirection" :redefinition at line 60 (on opengl)
"Shader error in <shader> :"lightDirection" :redefinition at line 60 (on opengl)
0
Ocean Quigley 9 years ago
Basically, anytime you use lightDirection in a vertex shader, lightDirection is undefined, and needs to be put in manually.
Customer support service by UserEcho