Jump to content
  • Advertisement
Sign in to follow this  

Sprite texture reverses in world space

This topic is 4645 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!