Materials (Metroid Prime): Difference between revisions

Jump to navigation Jump to search
>Aruki
>Aruki
Line 553: Line 553:
| 0-3
| 0-3
| 0xF
| 0xF
| {{unknown|Unknown}}
| '''Texture coord generation type''' ([http://libogc.devkitpro.org/group__texgentyp.html tgen_typ])
|-
|-
| 4-8
| 4-8
| 0x1F0
| 0x1F0
| Attribute input. [http://libogc.devkitpro.org/group__texgensrc.html These are the accepted inputs.]
| '''Texture coord source''' ([http://libogc.devkitpro.org/group__texgensrc.html tgen_src])
|-
|-
| 9-13
| 9-13
| 0x3E00
| 0x3E00
| {{unknown|Unknown; appear to be unused?}}
| '''Texture matrix index''' ([http://libogc.devkitpro.org/group__texmtx.html mtxsrc - add 30])
|-
|-
| 14
| 14
| 0x4000
| 0x4000
| Toggle whether the coordinate is normalized after being multiplied by the texture matrix.
| '''Normalize flag''' - normalizes texture coord after it's multiplied by the texture matrix (normalize)
|-
|-
| 15-20
| 15-20
| 0x1F8000
| 0x1F8000
| This sets the index into the post-transform matrix used for the final calculations.
| '''Post-transform texture matrix index''' ([http://libogc.devkitpro.org/group__dttmtx.html postmtx])
|-
|-
| 21+
| 21+
Anonymous user

Navigation menu