How I can translate this line to surface shaders?
SetTexture[_ReflectionTex] { matrix [_ProjMatrix] combine texture * previous }
I know I can pass the _ProjMatrix from a script using mat.SetMatrix( “_ProjMatrix”, mtx);
But I am not sure if the right code in my shader should be this:
v.texcoord = mul(_ProjMatrix , v.texcoord );
What exactly do internaly SetTexture with the matrix?
Thanks