How to add the primary and secondary colors of a fragment (pixel)

satya - Mon Sep 03 2012 12:19:31 GMT-0400 (Eastern Daylight Time)

glSecondaryColor

glSecondaryColor

Search for: glSecondaryColor

satya - Thu Sep 13 2012 22:51:43 GMT-0400 (Eastern Daylight Time)

I am gathering this bits and pieces

apparently vertices can carry secondary colors. These secondary colors are "added" after the texture stage if and only if the lighting affects are off.

Apparently I read that the lighting effects can cause secondary colors.

satya - Thu Sep 13 2012 22:56:13 GMT-0400 (Eastern Daylight Time)

This is also being quoted as a multi-texturing pipeline

Optionally, after all the texture units, a second linearly interpolated color (the specular color) can be added in the color sum stage (if supported), followed by application of fog. The shading pipeline just outlined is commonly known as the traditional OpenGL multi-texturing pipeline.

satya - Thu Sep 13 2012 22:57:55 GMT-0400 (Eastern Daylight Time)

The above quote is borrowed from Course notes from Markus Hadwiger etc.: PDF

The above quote is borrowed from Course notes from

By

Markus Hadwiger
Joe M. Kniss
Klaus Engel
Christof Rezk-Salama