Developing Games on Intel Graphics
Ask us questions and get answers, tips, tweaks & techniques from product and technology experts.
455 Discussions

Problem accessing gl_LightSource[i] with OpenGL GLSL and GM965

delle
Beginner
326 Views
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
326 Views
I forgot to say that the version of the driver is 14.37.1.5029 for XP

Bye

Delle
Doraisamy_G_Intel
326 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
326 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 )
Reply