Sprite is flipped vertically

Started by
-1 comments, last by JoshuaBaker 12 years, 1 month ago
Using the DX9 sprite functionality i can render a sprite without setting any of the transform matrices and it renders in the upper left corner at 0,0 with no issues.

I want to make my 0,0 coordinate be the center of the screen so i need to fiddle with my projections...

Device.SetTransform(TransformationState.Projection, Matrix.OrthoLH(800,600,0,1));

This puts the sprite in the center of the screen, but it is flipped vertically. Whaere could be issue be here?

This topic is closed to new replies.

Advertisement