View Full Version : Accessing texturing states...

05-05-2005, 10:36 AM
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?

05-05-2005, 01:30 PM
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.