Materials (Metroid Prime 3): Difference between revisions
Jump to navigation
Jump to search
→PASS
>Aruki m (→CLR) |
>Aruki (→PASS) |
||
Line 165: | Line 165: | ||
==== PASS ==== | ==== PASS ==== | ||
The PASS sections set up a single rendering pass, consisting of one TEV stage and potential other data to go with it (like a UV animation). One pass is 32 bytes (without the animation) and is structured as follows: | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 206: | Line 208: | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
| '''UV | | '''UV Animation Size''' | ||
| | | | ||
|} | |} | ||
If there's a UV anim, it is structured like this: | |||
{| class="wikitable" | |||
! Offset | |||
! Type | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| u16 | |||
| 2 | |||
| {{unknown|'''Unknown'''}} | |||
|- | |||
| 0x2 | |||
| u16 | |||
| 2 | |||
| {{unknown|'''Unknown'''}} | |||
|- | |||
| 0x4 | |||
| u32 | |||
| 4 | |||
| | |||
List of possible PASS subtypes: | List of possible PASS subtypes: |