Function
gDPSetCombineLERP
Sets the color combiner (CC) mode
Syntax
#include <ultra64.h> /* gbi.h */
gDPSetCombineLERP(
Gfx *pkt,
a0, b0, c0, d0,
Aa0, Ab0, Ac0, Ad0,
a1, b1, c1, d1,
Aa1, Ab1, Ac1, Ad1)
gsDPSetCombineLERP(
a0, b0, c0, d0,
Aa0, Ab0, Ac0, Ad0,
a1, b1, c1, d1,
Aa1, Ab1, Ac1, Ad1)
Arguments
Returned Value
None.
Description
This macro is used for setting details pertaining to the source input to the RDP's color combiner. Most of the standard input source is set in advance, but by including color constants and alpha constants, you can specify a unique CC mode. gDPSetCombineMode is a simplified version of this macro. Thus, the following two sets of syntax are the same:
(a) gsDPSetCombineMode(G_CC_MODULATE, G_CC_MODULATE)
(b) gsDPSetCombineLERP(TEXEL0, 0, SHADE, 0, TEXEL0, 0,
SHADE, 0, TEXEL0, 0, SHADE, 0, TEXEL0, 0, SHADE, 0)
For details, see gDPSetCombineMode as well as Section 12.6 "CC: Color Combiner" in the N64 Programming Manual.
Below are the alpha constants that can be used for the arguments Aa0, Ab0, Ac0, Ad0 and the arguments Aa1, Ab1, Ac1, Ad1:
See Also
Revision History
03/01/99 Newly created.