MREA (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
m
→Geometry
imported>Antidote No edit summary |
>Aruki m (→Geometry) |
||
Line 83: | Line 83: | ||
* Normals are ''always'' shorts, so vertex format 0 is never used. | * Normals are ''always'' shorts, so vertex format 0 is never used. | ||
* Most MREA meshes use lightmaps, so normally the first UV coordinate on each | * Most MREA meshes use lightmaps, so normally the first UV coordinate on each vertex will read from the short UV array. This isn't always the case, though; you need to make sure you check the material so you know where to read from. | ||
* | * Surfaces will usually have a bounding box in the extra data in the submesh header. This bounding box is used for depth sorting. | ||
* Each mesh starts with an extra header section which is formatted like this: | * Each mesh starts with an extra header section which is formatted like this: | ||