Ati GLSL gl_LightSource[1]
Hi everyone,
I have a problem accessing gl_LightSource[1], basically every attribute returned inside the shader are set to 0.
The light is glEnabled I set it's attributes just like light 0 but for some unknown reason I can't fetch them. I'm calculating the light Id correctly I believe: (GL_LIGHT0 + n).
Does anyone have the same problem with Ati GLSL? Or did I miss something to activate?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement