Accessing texturing states

Is there direct access to texture coordinate generation method states (eye linear, object
linear, etc…) as well as texturing environment states such as GL_MODULATE,GL_DECAL,etc… in glsl
or do I have to pass the info for each texture unit from my application?

You can access the texgen settings (gl_EyePlane[n], gl_ObjectPlane[n], etc…) from your GLSL shader but you can’t access the texture environment state.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.