Color clamping on ATI
Hi,
I use
glClampColorARB(GL_CLAMP_VERTEX_COLOR_ARB, FALSE);
glClampColorARB(GL_CLAMP_FRAGMENT_COLOR_ARB, FALSE);
glClampColorARB(GL_CLAMP_READ_COLOR_ARB, GL_FALSE);
to avoid color clamping, but this doesn't work on ATI GPUs (program crashes on the corresponding line). Which extensions should I use on ATI video cards?
Thanks,
Peter
Is this again the same issue as this?
http://www.gamedev.net/community/forums/topic.asp?topic_id=502028
http://www.gamedev.net/community/forums/topic.asp?topic_id=502028
I'm not even sure what that extension is for (GL_ARB_color_buffer_float).
If you want non clamped values, don't use gl_Color in your shader. Just use your own varyings. Also, you are rendering to a floating point target, right?
If you want non clamped values, don't use gl_Color in your shader. Just use your own varyings. Also, you are rendering to a floating point target, right?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement