Community
cancel
Showing results for 
Search instead for 
Did you mean: 
delle
Beginner
73 Views

Problem accessing gl_LightSource[i] with OpenGL GLSL and GM965

Hi, I'm using the GLSL Shading Language in OpenGL, when I try to access to gl_LightSource data (with i>0) the driver crash.

The same problem occur using Cg Shaders. In this case the variable is glstate.light

Someone has successfully accessed to OpenGL light states in a Shader (for i>0) ?

Thank you

Delle
0 Kudos
3 Replies
delle
Beginner
73 Views

I forgot to say that the version of the driver is 14.37.1.5029 for XP

Bye

Delle
73 Views

Hi Delle,

Unfortunately, GM965 is not actively supported anymore. I will check to see if this problem happens in any of our current generation graphics devices.

Thanks,
-Ganesh
Philip_T_Intel1
Employee
73 Views

what is the value of i?

most hw uses a limited number of hw lights, 8 or so.

switch to sw lighting and try again, or make sure i < 8 ( or the max number of hw lights supported )