Sign in to follow this  

Alpha blending and Textures

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this