Sign in to follow this  
Yours3!f

different blending modes for each render target

Recommended Posts

Yours3!f    1532

Hi there,

 

I'd like to do different blending for each render target in my fbo.

So for example I'd like to overwrite the first render target (GL_COLOR_ATTACHMENT0), but for the second I'd like to do a glBlendFunc(GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR)

 

is there any way I can do this?

 

Best regards,

Yours3!f

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