CMDL (Tropical Freeze): Difference between revisions
→Materials
>Aruki No edit summary |
>Aruki |
||
Line 53: | Line 53: | ||
If the ending flag is 1, then a large chunk of extra data follows before the next section begins; otherwise, the HEAD section ends. | If the ending flag is 1, then a large chunk of extra data follows before the next section begins; otherwise, the HEAD section ends. | ||
=== | === Material Data === | ||
The MTRL section has a 32-bit material count, then lays out its materials one after the other. | The MTRL section has a 32-bit material count, then lays out its materials one after the other. Materials are composed of basically a [[MTRL (File Format)|MTRL asset ID]] which contains the shader the material is rendered with, then per-instance material parameters (textures, scalar/color parameters, etc). | ||
{| class="wikitable" | {| class="wikitable" |