gDPSetEnvColor
Sets the environment color
Syntax
#include <ultra64.h> /* gbi.h */
gDPSetEnvColor(Gfx *gdl, u32 r, u32 g, u32 b, u32 a)
gsDPSetEnvColor( u32 r, u32 g, u32 b, u32 a)
Arguments
Description
Sets the RDP's environment color, which is used as an input source for linear interpolation by the color combiner (CC). The environment color register set by this macro becomes a general-purpose color register of the CC, expressing the environment color of the scene. It is also used for rendering a second specular highlight (Hilite2). The value in this environment color register determines the highlight color for Hilite2. For details, please see Section 12.6.2 "CC Internal Color Registers" in the N64 Programming Manual.
See Also
gDPFillRectangle, gDPSetAlphaCompare, gDPSetCombineMode, gDPSetCycleType, and gDPSetRenderMode
Revision History
02/01/99 Completely rewritten