CMDL (Donkey Kong Country Returns): Difference between revisions

Jump to navigation Jump to search
>Cornyfisch
(Fixed mantissa byte size)
>Aruki
Line 167: Line 167:
=== Materials ===
=== Materials ===


There's not much known about the material format currently; DKCR seems to use the same material format as Metroid Prime 3. The main difference in DKCR compared to Prime 3 is that in Prime 3, each material set would get its own section. In DKCR, every material set is in the same section. Each material set begins with a material count, and each material begins with its own size. The main thing that's needed to read geometry is the vertex attribute flags, which are located at 0xC in the material structure (not counting the size).
''See [[Materials (Metroid Prime 3)]]''
 
DKCR uses the same material format as Metroid Prime 3, with the main differences being what pass types and UV animation modes are supported (a few have been added/removed). The only other significant difference in DKCR compared to Prime 3 is that in Prime 3, each material set would get its own section. In DKCR, every material set is in the same section. Each material set begins with a material count, and each material begins with its own size.


=== Geometry ===
=== Geometry ===
Anonymous user

Navigation menu