Sign in to follow this  

[XNA 4.0] Blending Texture with AlphaMap

Recommended Posts


i want to know if it's possible to draw a texture where the alpha channel comes from a seperate texture with the spritebatch class. (alphamap?)
the alphamap will be changed during the game (destructable terrain)

here some pictures to illustrate what i mean:



thats what the result should be :

sry for my bad english

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