Jump to content
  • Advertisement
Sign in to follow this  

Alpha blending and Textures

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

My scene has 2 TransformedTextured vertex buffers (2 800x600 planes) and 1 3D character. 1 plane acts as the background and the other plane is placed at z = 0.5 to put it in the middle of the scene. I then have my character walk to the "back" of the scene. As soon as she gets behind the first plane (z = 0.5), she disappears. The texture that I apply to the plane z = 0.5 has a texture (with transparencies) applied. When the scene is initially rendered, the transparent areas are rendered correctly (can see through to the background). I am sure I must need to set some of the RenderState flags are TextureStage flags of the device in order to get the blending working correctly. Can someone either tell me what I am missing or point me to another thread here that can tell me? Thanks

Share this post

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