Materials (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
no edit summary
>Aruki m (→Texgen) |
>Aruki No edit summary |
||
Line 497: | Line 497: | ||
| 0-3 | | 0-3 | ||
| 0xF | | 0xF | ||
| | | '''Combiner operator''' ([http://libogc.devkitpro.org/group__tevop.html tevop]) | ||
|- | |- | ||
| 4-5 | | 4-5 | ||
| 0x30 | | 0x30 | ||
| tevbias | | '''Bias''' ([http://libogc.devkitpro.org/group__tevbias.html tevbias]); 00 does nothing; 01 adds 0.5; 10 subtracts 0.5; 11 does nothing. | ||
|- | |- | ||
| 6-7 | | 6-7 | ||
| 0xC0 | | 0xC0 | ||
| tevscale | | '''Scale''' ([http://libogc.devkitpro.org/group__tevscale.html tevscale]); 00 does nothing; 01 multiples by 2; 10 multiplies by 4; 11 divides by 2. | ||
|- | |- | ||
| 8 | | 8 | ||
| 0x100 | | 0x100 | ||
| | | '''Clamp flag'''; enabling this will clamp the output color between 0 and 1. | ||
|- | |- | ||
| 9-10 | | 9-10 | ||
| 0x600 | | 0x600 | ||
| | | '''Output register''' ([http://libogc.devkitpro.org/group__tevcoloutreg.html tevrigid]); can be Previous Stage or Color 0/1/2 | ||
|- | |- | ||
| 11+ | | 11+ |