source:
GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/oldgeneral/tree_idtexturing_fp.asm
@
1493
Revision 1493, 197 bytes checked in by igarcia, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[1493] | 1 | |
2 | ps.3.0 | |
3 | dcl vFace | |
4 | ||
5 | def c0, 0.0f, 1.0f, 0.0f, 0.0f // RGBA green | |
6 | def c1, 1.0f, 0.0f, 0.0f, 0.0f // RGBA red | |
7 | ||
8 | if_gt vFace, c0.w | |
9 | mov r0, c0 | |
10 | else | |
11 | mov r0, c1 | |
12 | endif | |
13 | ||
14 | mov oC0, r0 |
Note: See TracBrowser
for help on using the repository browser.