cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

geometrian
Journeyman III

Spotlighting Broken on AMD

Hi,

This is in direct reference to my question on stackoverflow.

In using a standard OpenGL shader (compiled with #version 110), gl_LightSourceParameters's spotlighting seems broken on one of my tests, an ATI Mobility Radeon HD 4250.  It works fine on two NVIDIA GPUs. 

Can someone confirm or check if this is a driver bug?  It's running Windows 7; driver reported as 8.802.2.1000.  If this should go somewhere else, let me know.

Thanks,

Ian

Tags (2)
0 Likes
1 Reply
gsellers
Staff
Staff

Re: Spotlighting Broken on AMD

Hi,

Yes, this is possibly a driver bug. We will look into it. However, I would suggest that in a new application you don't use the built-in lighting state (especially if you're going to write your own shaders), but instead use user-defined uniform variables in your shader. This will likely work around the issue you're facing and also is generally considered better practice anyway. It will also work fine on hardware from other vendors.

Thanks,

Graham