I have a problem with overlapping quads. I've set the colorkey to magenta when loading the texture, and it almost works..
The picture explains it better than I do, i think:
I've drawn some black to show you how high the quad is. So it does work, until it gets close to another color! Why is that?
/h
The picture explains it better than I do, i think:
I've drawn some black to show you how high the quad is. So it does work, until it gets close to another color! Why is that?
Code:
device.RenderState.AlphaBlendEnable = true;
device.RenderState.SourceBlend = Blend.SourceAlpha;
device.RenderState.DestinationBlend = Blend.InvSourceAlpha;
/h