• Advertisement
Sign in to follow this  

Sprite is flipped vertically

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

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?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement