Materials (Metroid Prime): Difference between revisions

no edit summary
>Aruki
>Aruki
No edit summary
Line 497: Line 497:
| 0-3
| 0-3
| 0xF
| 0xF
| tevop; [http://libogc.devkitpro.org/group__tevop.html there are ten accepted values.]
| '''Combiner operator''' ([http://libogc.devkitpro.org/group__tevop.html tevop])
|-
|-
| 4-5
| 4-5
| 0x30
| 0x30
| tevbias. 00 does nothing; 01 adds 0.5; 10 subtracts 0.5; 11 does nothing.
| '''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. 00 does nothing; 01 multiples by 2; 10 multiplies by 4; 11 divides by 2.
| '''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; enabling this will clamp the output color between 0 and 1.
| '''Clamp flag'''; enabling this will clamp the output color between 0 and 1.
|-
|-
| 9-10
| 9-10
| 0x600
| 0x600
| tevrigid; this sets the register that the output color is saved into. 00 is the previous stage register; 01 is Color 0; 10 is Color 1; 11 is Color 2.
| '''Output register''' ([http://libogc.devkitpro.org/group__tevcoloutreg.html tevrigid]); can be Previous Stage or Color 0/1/2
|-
|-
| 11+
| 11+
Anonymous user