Materials (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
→Texgen
>Aruki m (→Flags) |
>Aruki (→Texgen) |
||
Line 553: | Line 553: | ||
| 0-3 | | 0-3 | ||
| 0xF | | 0xF | ||
| | | '''Texture coord generation type''' ([http://libogc.devkitpro.org/group__texgentyp.html tgen_typ]) | ||
|- | |- | ||
| 4-8 | | 4-8 | ||
| 0x1F0 | | 0x1F0 | ||
| | | '''Texture coord source''' ([http://libogc.devkitpro.org/group__texgensrc.html tgen_src]) | ||
|- | |- | ||
| 9-13 | | 9-13 | ||
| 0x3E00 | | 0x3E00 | ||
| | | '''Texture matrix index''' ([http://libogc.devkitpro.org/group__texmtx.html mtxsrc - add 30]) | ||
|- | |- | ||
| 14 | | 14 | ||
| 0x4000 | | 0x4000 | ||
| | | '''Normalize flag''' - normalizes texture coord after it's multiplied by the texture matrix (normalize) | ||
|- | |- | ||
| 15-20 | | 15-20 | ||
| 0x1F8000 | | 0x1F8000 | ||
| | | '''Post-transform texture matrix index''' ([http://libogc.devkitpro.org/group__dttmtx.html postmtx]) | ||
|- | |- | ||
| 21+ | | 21+ |