Is there a reasonably easy way to invert (make a negative of) the whole screen
TIA,
David.
XNA Game Studio Express
Is there a reasonably easy way to invert (make a negative of) the whole screen
TIA,
David.
I haven't tried this but...it's worth a shot.
Draw a fullscreen quad or sprite (contents do not matter), with RenderState.SourceBlend = Blend.InvDestColor, and RenderState.DestinationBlend = Blend.Zero.
See http://blogs.msdn.com/shawnhar/archive/2007/01/02/spritebatch-and-custom-blend-modes.aspx for more info on setting blend modes.
-Mike
Thanks both for your speedy replies -- it did the trick.
My project isn't too graphically heavy so I haven't really looked intot the blending modes.
David.