Advertisement Jump to content


This topic is now archived and is closed to further replies.


White Gamma Ramp?

This topic is 6554 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 figured out a problem with DirectX Gamma Ramps today...if I use the following code to create a complete white screen it displays only a bright grey screen but it''s not completely white!?! What could be the reason for this and how can I solve this problem? Here''s the code I use: for(i=0;i<256;i++) {;[i]=0xFFFF;[i]=0xFFFF; } MyGammaControl->SetGammaRamp(0,&GammaRamp); The red, green and blue components are all WORD values so it should display a white screen but it''s only bright grey... Thanks for your help! Andreas

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
Hey I''ve the same problem....can anyone please help out??

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!