ind-bump-st

Description

This program shows how to render an indirect texture for environment-mapped bump mapping. The indirect map consists of offsets in the (s, t) texture space.

Coverage

Functions Parameters Description
GXSetNumIndStages Number of stages 1
GXSetIndTexOrder Indirect stage GX_INDTEXSTAGE0
Texture coordinates GX_TEXCOORD0
Texture map GX_TEXMAP2
GXSetIndTexCoordScale Indirect stage GX_INDTEXSTAGE0
S scale GX_ITS_1
T scale GX_ITS_1
GXSetIndTexMtx Indirect Matrices GX_ITM_0
Matrix Identity matrix.
Scale value 0
GXSetTevIndBumpST TEV Stage GX_TEVSTAGE1
Indirect stage GX_INDTEXSTAGE0
Indirect Matrices GX_ITM_0

Using the Demo

End the test with START. The Control Stick rotates the model.

Snapshot

ind-bump-st-0.jpg (16547 bytes)

ind-bump-st-1.jpg (16772 bytes)

Required Data Files

$REVOLUTION_SDK_ROOT/dvddata/gxTests/dnt-test02.tpl

Revision History

2006/03/01 Initial version.


CONFIDENTIAL