Frag Shader vs BlendFunc

Sorry if this question is too simple.
The answer is probably made clear somewhere, and I just haven’t stumbled into it yet.

Do the results of glBlendFunc() get fed to the Fragment shader? (when the shader gets the current glColor, or when he grabs a sample)
Or do the results of the Fragment shader get fed to the blend function?
Or do frag shaders negate / replace blend functions?

This option is the most close to the truth. You should check the diagrams in the spec that present the OpenGL pipeline. It very clearly presents the ordering of the operations.

Ok, thanks.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.