Jump to content
  • Advertisement
Sign in to follow this  
shiqiu1105

DX11 About the color being brighter in DX11 using DXUT.

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

I've noticed that the color display in DX11 is different from that in DX10, DX9 and OGL.


I've first noticed it from the ClearRenderTarget() function.

Assigning the same color value to DX11 would get different results from DX10 and 9.

The color is DX11 is lighter...
I dont know if I'm missing some options or params that are causing this, or DX11 is simply designed this way.

And then I move one of my GL project to DX11, the code is the same but the color is much brighter than that in OGL..

Why is so??

EDIT: I just found out that the color is only brighter when using the DXUT frame work...why?? Is the DXUT setting up something special??

And, my DXUT calls the CreateDevice() function everytime I resize the window..:(


[Edited by - shiqiu1105 on October 10, 2010 11:12:35 AM]

Share this post


Link to post
Share on other sites
Advertisement
Yeah, does sound like a gamma issue

Also, the solution is not to turn off gamma corrected writes as the other thread suggests. The solution is to handle gamma correctly - inverse gamma correct your color textures, also inverse gamma correct color constants that you send into the shader.

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!