Ati GLSL gl_LightSource[1]

Started by
-1 comments, last by b34r 19 years, 6 months ago
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?
Praise the alternative.

This topic is closed to new replies.

Advertisement