Sign in to follow this  
unknownProdigy

transparency blit

Recommended Posts

Or in Direct3D you can use


dev.SetRenderState(D3DRENDERSTATE_ALPHABLENDENABLE, 1);

// and the make compinations of
dev.SetRenderState(D3DRENDERSTATE_SRCBLEND, D3DBLEND_INVSRCCOLOR /*D3DBLEND_SRCCOLOR or ...*/);
dev.SetRenderState(D3DRENDERSTATE_DESTBLEND, ...);

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