Jump to content
  • Advertisement
Sign in to follow this  
katsh

Sprite texture reverses in world space

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

hi folks. i got a problem with ID3DXSprite. The problem that the top and bottom of the picture(texture) reverses. The problem occures when i use ID3DXSprite::Begine with D3DXSPRITE_BILLBOARD flag to render image in 3d world space. On the one hand,When drawing on Screen plane with D3DXSPRITE_ALPHABLEND flag, it is normal. so i have to Scale Y-Axis -1 to solve the problem. D3DXMatrixScaling(&matScale,1,-1,1); this work fine,but it doesnt make any sense for me. does ne1 have(had) same problem?

Share this post


Link to post
Share on other sites
Advertisement
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!