Sign in to follow this  

Changing Blending for color subtraction

This topic is 4815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Assuming you're doing this in multipass using blending and your implementation supports GL_EXT_blend_subtract simply use glBlendFunc(GL_FUNC_SUBTRACT_EXT). To set it back to normal use glBlendFunc(GL_FUNC_ADD_EXT).

Enigma

Share this post


Link to post
Share on other sites
bahhh found 2 library loaders, 1 crashed everytime i try to use it and the other gives me a link error. the 1 that gave me a link error is glew which seems to be the 1 every1 uses. Maybe i need to link the library to the project? But i cant remember how to link libraries in VC++7

Share this post


Link to post
Share on other sites

This topic is 4815 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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