Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
486 Discussions

Problem accessing gl_LightSource[i] with OpenGL GLSL and GM965

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

Bye

Delle
0 Kudos
Doraisamy_G_Intel
599 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
0 Kudos
Philip_T_Intel1
Employee
599 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 )
0 Kudos
Reply