#include <revolution/gd.h>
void GDSetIndTexCoordScale(
GXIndTexStageID evenStage,
GXIndTexScale scaleS0,
GXIndTexScale scaleT0,
GXIndTexScale scaleS1,
GXIndTexScale scaleT1,
);
evenStage |
Indirect texture stage ID. Must be an even number. |
|---|---|
scaleS0 |
Scale factor for the S coordinate of the indirect stage evenStage. |
scaleT0 |
Scale factor for the T coordinate of the indirect stage evenStage. |
scaleS1 |
Scale factor for the S coordinate of the indirect stage (evenStage + 1). |
scaleT1 |
Scale factor for the T coordinate of the indirect stage (evenStage + 1). |
None.
This function enables texture coordinate sharing between an indirect stage and a regular TEV stage. To use an indirect map that is smaller than the regular map, you can scale down the texture coordinates. This function specifies the scale factors that are available as input to the indirect texture stages (evenStage and evenStage + 1). This GD function is equivalent to calling the GXSetIndTexCoordScale function for two indirect texture stages in a row (where the first one must be even).
2006/03/01 Initial version.
CONFIDENTIAL