- Home /
shader access to empty texcoord but got other texcoord(channel)
Say I have an object with channel1(vertex color), channel2(LightMap) and channel3. When I try to access TEXCOORD5 which is not exist, I will get channel3 by default? Seems CG will always give you the closest channel by default.
Is there any way to prevent this? Thanks
Comment
Your answer

Follow this Question
Related Questions
Logical BlendOp not working 0 Answers
Shader - What is float3.xy? 1 Answer
Why Unity compiled shader doesn't use the GLSLPROGRAM/GLSL syntax? 0 Answers
How do you hide a shader property? 2 Answers
Help with a see-through shader 0 Answers