Sign in to follow this  

[DirectX/C++] Texture Alpha Problem

Recommended Posts

I have a .X mesh of a tree, which uses a texture with an alpha channel for the branches and leaves. When rendered, the branches will appear transparent, as the alpha seems to get blended with other objects behind them, but if another branch is behind them, that other branch will not get blended, as shown in this screenshot: Alpha blending problem. As you can see, the Skybox gets rendered behind the branch in front with no problems, and the same is true for other objects (like the terrain) but the branch behind it gets chopped off. Does anyone know why this is happening? For the record, I have alpha blending enabled, and culling is turned off. Thanks in advance.

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