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.
Originally Posted by CRasterImage
Disclaimer: This is my personal profile. Whatever I write here is my personal opinion and none of my statements or speculations are anyhow related to my employer and as such should not be treated as accurate or valid and in no case should those be considered to represent the opinions of my employer.
Technical Blog: http://www.rastergrid.com/blog/