Sign in to follow this  
tkgamegroup

Blend with vec3

Recommended Posts

nothing. 

 

 

 

Blending is the stage of OpenGL rendering pipeline that takes the fragment color outputs from the Fragment Shader and combines them with the colors in the color buffers that these outputs map to. Blending parameters can allow the source and destination colors for each output to be combined in various ways.

 

 

taken from:

https://www.opengl.org/wiki/Blending

 

 

basically blending only affects colors

Share this post


Link to post
Share on other sites

nothing. 

 

 

 

Blending is the stage of OpenGL rendering pipeline that takes the fragment color outputs from the Fragment Shader and combines them with the colors in the color buffers that these outputs map to. Blending parameters can allow the source and destination colors for each output to be combined in various ways.

 

 

taken from:

https://www.opengl.org/wiki/Blending

 

 

basically blending only affects colors

 

it means there is no output at all??

Share this post


Link to post
Share on other sites

 

what happend when you turn on blend and output a vec3?

OpenGL will invent an alpha/'w' component for you. You'd have to double check with the spec, but it will likely use 1.0, or if not that, then 0.0...

 

thank you, your answer is just like what i think, i will try it.

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