gDPSetBlendColor
Sets the blend color
Syntax
#include <ultra64.h> /* gbi.h */
gDPSetBlendColor(Gfx *gdl, u32 r, u32 g, u32 b, u32 a)
gsDPSetBlendColor( u32 r, u32 g, u32 b, u32 a)
Arguments
Description
Sets the RDP's blend color. The blend color register is a general-use color register in the blender (BL). This blend color register can, for example, set the alpha component to give a constant transparency to an object when fog is being used. Alpha component is used as a threshold value that determines to write in the frame buffer.
For details, see Section 12.7.3 "BL Internal Color Registers" in the N64 Programming Manual.
See Also
gDPFillRectangle, gDPSetAlphaCompare, gDPSetCombineMode, gDPSetCycleType, and gDPSetRenderMode
Revision History
02/01/99 Completely rewritten