NV15ColorMaterial

Set color material for NV15

See glColorMaterial() for more informations. It seems the function can only set property for front faces. Using GL_BACK as first parameter for glColorMaterial() is the same as disabling the feature. Lighting must be enabled.

FIFO Commands:

0x298 (NV15_COLOR_MATERIAL)

Arguments:

The commands takes a bitmask as long value:

Bit number

Bit cleared

Bit set

0

Disable emission

Enable emission

1

Disable ambient

Enable ambient

2

Disable diffuse

Enable diffuse

3

Disable specular

Enable specular

0x0000000x          (long)

See also:

NV15Lighting