Advertisement Jump to content
Sign in to follow this  
Garret

Color clamping on ATI

This topic is 3833 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Is this again the same issue as this?
http://www.gamedev.net/community/forums/topic.asp?topic_id=502028

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
Sure, I'm rendering in floating point rendering targets. The problem is that I should transmit values more than 1.0 from app to OpenGL, using glColor call

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!