Zanir » Blog Archive » Program 11 – Blending

Program 11 – Blending

25.05.2002

011_blendingBlending is used to combine the color of a given pixel that is about to be drawn with the pixel that is already on the screen.

Blending is setting through:
glEnable(GL_BLEND); and glDisable(GL_BLEND);

The Blending Equation is set:
glBlendFunc( source factor, destination factor );

source code (without jpeg.lib) and executable – 250kB

Leave a Reply