Jump to content
  • Advertisement
Sign in to follow this  
sanch3x

[.net] [XNA2.0] Colour "mixing" during camera movement

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

Hey, we're currently working on a 2d top view shmup where a portion of the map is surrounded by black and yellow warning stripes. The graphics were all done on 32x32 tiles but the stripes are 3 pixels long and 2 pixels wide (each row having a small offset to give it that diagonal look). The problem is that when the camera moves these stripes seem to slightly mix making the yellow a litle darker. Is this a problem related to the file type used for the tilesets or some sort of colour approximation algo used by XNA? We don't get this mix anywhere else only on the black and yellow stripes (maybe because of the huge contrast?). The problem only arises when the camera moves, if the map is static the colours are perfect.

Share this post


Link to post
Share on other sites
Advertisement
I don't think this is something xna is doing. It sounds to me like it's just an optical illusion, caused by the high contrast, as you said.

I see things like that all the time on my LCD monitor.

Share this post


Link to post
Share on other sites
I was afraid of that. Since we had problems with anti-aliasing being applied to a sprite we rotate I figured that maybe it was something like that. Ah well, I see what I can do on the graphical side of things :)

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!