• Advertisement

Archived

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

White Gamma Ramp?

This topic is 6221 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++) { GammaRamp.red=0xFFFF; GammaRamp.green[i]=0xFFFF; GammaRamp.blue[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
Advertisement
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