Is there some more documentation of the TexGen options available in the Unity shader language? I figured out the overall mode (eg EyeLinear) but I can’t work out how to specify the actual parameters. I understand the OpenGL level concepts, I just need to know the scripting format.
For the record, I know I could do this with a vertex program… I’m just lazy (in the good way). But if I have to, I will
The modes are: ObjectLinear, SphereMap, CubeReflect, CubeNormal. These correspond to OpenGL texgen modes directly. Additionally you can specify a Matrix inside SetTexture statement, like: