Sign in to follow this  

blendtexturealpha not working

Recommended Posts

I am trying to blend two textures together in two texture stage states. The first texture is 256x256 map of my terrain with all alpha pixels on. The second texture has a doughnut-type frame with a doughnut-type mask stored in the alpha channel. I have... stage0 colorop=selectarg1 colorarg1=texture alphaop=selectarg1 alphaarg1=texture stage1 alphaop=blendtexturealpha colorarg1=texture colorarg2=current alphaop=selectarg1 alphaarg1=current I was expecting the output to be the square map with the doughnut frame overlayed on the top, but what I get is just the square map. Why is the blendtexture alpha not picking up the doughnut alpha and putting the doughnut frame RGB values on top of the map texture? I am really tearing my hair out on this one. 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