Sign in to follow this  
Raeldor

Texture Blending Strangeness

Recommended Posts

Raeldor    254
Can I clarify, that when I use a ColorOp of BLENDTEXTUREALPHA, that this affects only the RGB values of the output color, and that if I use SELECTARG1 as the AlphaOp and TEXTURE as the AlphaArg1 this should still output the final alpha value as the same as the texture pixel? Also, when it says it uses the alpha value from the texture to do the blend, does it really mean the texture, or does it mean the result of the alpha operation from that stage? So, is the final RGBA pixel value the RGB from the Color stages and the A value from the alpha stages? Thanks [Edited by - Raeldor on November 26, 2005 1:37:09 AM]

Share this post


Link to post
Share on other sites
MePHyst0    232
No, (maybe I'm not right,if so please correct me :) ). As far as I know, the TEXTURE alphaarg is the alpha value of the texture pixel(texel). If you want the resulting value from the stages(color or alpha) you should use CURRENT.


HTH

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