dust
05-03-2005, 11:06 PM
Hi,
sometimes ago I got aware of the error with gl_LightSource array on ATI cards. Someone told me to pass the attributes as uniforms.
So, now is my question:
What is the best way to pass the attributes from the OpenGL state via Uniform to my shader?
Thanks in advance
sometimes ago I got aware of the error with gl_LightSource array on ATI cards. Someone told me to pass the attributes as uniforms.
So, now is my question:
What is the best way to pass the attributes from the OpenGL state via Uniform to my shader?
Thanks in advance