Jump to content
  • Advertisement
Sign in to follow this  
Starfox

Gamma correct

This topic is 3334 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

Is it just me, or is the lighting in this image ( http://wiki.gamedev.net/images/archive/2/25/20081011084905%21Image_8.3.png , from http://wiki.gamedev.net/index.php/D3DBook:%28Lighting%29_Ward , painfully not gamma correct?

Share this post


Link to post
Share on other sites
Advertisement
It's not just you, but I don't think it's a gamma problem. It's known as "Mach bands", and it's a problem with how one perceives the images, not with the actual rendering.

Share this post


Link to post
Share on other sites
There's certainly some Mach banding in these images. But that's not really the main visual problem here. The problem is that the images are not correctly tone mapped, even though they clearly use a bright HDR component in the specular highlight. The dynamic range is brought down with a simple linear clamp, which creates the typical halos of cyan gradients around the bright white highlight. This limitation comes from how colours are interpolated in RGB space rather than using the SPD (spectral power distribution) of the reflected light. The effect can be significantly reduced by tone mapping the image with an exponential exposure operator.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!