MREA (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
m
→Geometry
imported>Antidote No edit summary |
>Aruki m (→Geometry) |
||
Line 105: | Line 105: | ||
There's couple small differences you'll usually see on MREA meshes compared to CMDL ones: | There's couple small differences you'll usually see on MREA meshes compared to CMDL ones: | ||
* | * Normals are ''always'' shorts, so vertex format 0 is never used. | ||
* Most MREA meshes use lightmaps, so normally the first UV coordinate on each texture 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. | * Most MREA meshes use lightmaps, so normally the first UV coordinate on each texture 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. | ||
* Submeshes will usually have a bounding box in the extra data in the submesh header. This bounding box is used for depth sorting. | * Submeshes will usually have a bounding box in the extra data in the submesh header. This bounding box is used for depth sorting. |