Materials (Metroid Prime 3): Difference between revisions

Jump to navigation Jump to search
>Aruki
>Aruki
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 animations size'''
| '''UV Animation Size'''
| Needs verification; only bottom 8 bits are valid
|
|}
|}
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:
Anonymous user

Navigation menu