Sign in to follow this  

blending with formula?

Recommended Posts

I put some code for blending mode in HLSL: BlendOp=Add; SrcBlend=InvDestAlpha; DestBlend=DestAlpha; Is it possible to put kind of formula for setting them, for example: BlendOp=Add; SrcBlend=InvDestAlpha + SrcAlpha; DestBlend=DestAlpha + InvSrcAlpha; If it is not possible, is there any other way to do it? Thank you in advance. [Edited by - chiyuwang on January 19, 2009 5:52:40 AM]

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