PDA

View Full Version : Accessing texturing states...



Aeluned
05-05-2005, 09: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?

jra101
05-05-2005, 12: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.