Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Toyemann

Sprite & Mesh conflict

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

I''m having problem rendering a mesh over a sprite background. The mesh hides behind the sprite. When I use the dev->setrenderstate(D3DRS_ZENABLE, 1), certain part of the mesh becomes transparent. What do I do? Help.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
Sprites are meant to be layered on top of the current image, so I imagine that trying to get them to behave differently will be unpredictable at best.

-andy

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Don''t use d3dx sprite functions, use transformed triangles texture mapped with your sprite.

Share this post


Link to post
Share on other sites

  • 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!