I have come to realize that when I do something illegal in a register combiner, the mesh is drawn in white.
When I try to use the alpha channel of the secondary color, the mesh is drawn in white.
I have two non-white textures in tex0 and tex1.
both col0.a and col1.a are zero.
when I use the following register combiner:
spare0 = col0.a * tex0;
spare1 = col1.a * tex0;
out.rgb = spare0 + spare1;
out.a = unsigned_invert(zero); // out.a = 1
The mesh is drawn in white. When I use col0.a instead of col1.a, the mesh is properly drawn in black. It appears as if it is illegal to use the alpha channel of the secondary color. This coincides with the fact that the opengl extension for the secondary color does not provide a call for
a 4 channel color, as in ‘glSecondaryColor4fEXT’
Is this correct? IS the secondary alpha off limits?