function
|
effect
|
GR_COLORCOMBINE_ZERO
|
0x00 (black) for each component
|
GR_COLORCOMBINE_ITRGB
|
Gouraud shading
|
GR_COLORCOMBINE_DECAL_TEXTURE
|
texture
|
GR_COLORCOMBINE_TEXTURE_TIMES_CCRGB
|
flat-shaded texture using the constant color set by grConstantColorValue() as the shading value
|
GR_COLORCOMBINE_TEXTURE_TIMES_ITRGB
|
Gouraud-shaded texture
|
GR_COLORCOMBINE_TEXTURE_TIMES_ITRGB_ADD_ALPHA
|
Gouraud-shaded texture + alpha
|
GR_COLORCOMBINE_TEXTURE_TIMES_ALPHA
|
texture * alpha
|
GR_COLORCOMBINE_TEXTURE_ADD_ITRGB
|
texture + iterated RGB
|
GR_COLORCOMBINE_TEXTURE_SUB_ITRGB
|
texture – iterated RGB
|
GR_COLORCOMBINE_CCRGB
|
flat shading using the constant color set by grConstantColorValue()
|
GR_COLORCOMBINE_CCRGB_BLEND_ITRGB_ON_TEXALPHA
|
blend between constant color and iterated RGB using an alpha texture, where alpha of 0 and 1 correspond to constant color and iterated RGB respectively
|
GR_COLORCOMBINE_DIFF_SPEC_A
|
texture * a + iterated RGB
|
GR_COLORCOMBINE_DIFF_SPEC_B
|
texture * iterated RGB + a
|
GR_COLORCOMBINE_ONE
|
0xFF (white) for each component
|