View Full Version : utility of alpha value specified in glClearColor calls

05-20-2003, 10:11 PM
the glClearColor function takes as an argument an RGBA value.

Is there any situation in which varying the alpha value specified will vary the background color observed?

or is the clear color specified as an RGBA quartet for congruity's sake?

05-20-2003, 10:30 PM
imagine that you use blending and your blend func is:
and the DST_ALPHA is (for the polygons which doesn't cover other polygons) the value you just set using glClearColor(r,g,b,a).