Somehow the texture function formula stuff is messed up and nobody noticed?
Regarding the currently downloadable 1.3 version GL spec, look at this, page 147:
Cf and Af 3 are the primary color components of the incoming fragment; Cs
and As are the components of the texture source color, derived from the filtered
texture values Rt , Gt , Bt , At , Lt , and It as shown in table 3.21; Cc and Ac are
the components of the texture environment color; Cp and Ap are the components
resulting from the previous texture environment (for texture environment 0, Cp and
Ap are identical to Cf and Af , respectively); and Cv and Av are the primary color
components computed by the texture function.
And then table 3.22 on page 148:
REPLACE MODULATE DECAL
RGB Cv = Cs Cv = CfCs Cv = Cs
(or 3) Av = Af Av = Af Av = Af
RGBA Cv = Cs Cv = CfCs Cv = Cf*(1 - As) + CsAs
(or 4) Av = As Av = Af*As Av = Af
That can’t be true, can it? I was a little worried about the decal function (which I never used anyway …), but the MODULATE thing just can’t be what it was intended to be.