Hello,
How can I access LightPositions in shaderLabs? I’m currently working with Cg Shader and I wouldn’t like to use the unity surface system.
http://docs.unity3d.com/Documentation/Components/SL-BuiltinValues.html
_ObjectSpaceLightPos float4
Hello,
How can I access LightPositions in shaderLabs? I’m currently working with Cg Shader and I wouldn’t like to use the unity surface system.
http://docs.unity3d.com/Documentation/Components/SL-BuiltinValues.html
_ObjectSpaceLightPos float4