.material - Tkachov/ALERT GitHub Wiki
Not researched enough. Stores reference to material template, shader, texture and scalar parameters' values. Most of the sections are shared with .materialgraph.
.material
Magic | Description |
---|---|
1C04EF8C |
MSMR |
18757E9C |
MM |
7C7BD7D6 |
RCRA (v. 1.726.0.0) |
88730155 |
RCRA (v. 1.922.0.0) |
C9086F21 |
- |
.materialgraph
Magic | Description |
---|---|
07DC03E3 |
MSMR |
FF60342A |
MM |
B742D85D |
RCRA |
B7914F8B |
- |
.material and .materialgraph
.material
x1CAFE804_Section
| Material
| MaterialGraph
Texture parameters' values. Array of structs, 16 bytes each. Contains 32-bit offset to .texture filename in strings block, 32-bit hash of parameter name (structs are sorted by that value), some kind of 16-bit index (doesn't match the order) and some kind of "type" hash.
x45C4F4C0_Section
| Material
| MaterialGraph
Scalar and Vec3 parameters' definitions. Array of structs, 8 bytes each. 16-bit integer offset, 16-bit integer size and 32-bit hash of parameter name (structs are sorted by that value). Offset and size are for
xA59F667B_Section
| Material
| MaterialGraph
Parameters' values data, to be read according to
x8C049CCA_Section
| Material
| MaterialGraph
Not researched enough.
xBBFC8900_Section
| Material
| MaterialGraph
Shader data. Starts with IGSH
, suggesting custom Insomniac's format. Probably platform-specific, as also contains "Microsoft (R) HLSL Shader Compiler" (DirectX).
xBC93FB5E_Section
| Material
| MaterialGraph
Not researched enough.
xC24B19D9_Section
| Material
| MaterialGraph
Not researched enough.
xF9C35F30_Section
| Material
| MaterialGraph
Not researched enough.
xFD113362_Section
| Material
| MaterialGraph
Not researched enough.
xC32E7230_Section
| Material
| MaterialGraph
Not researched enough.
MaterialSerializedDataSection
| Material
Contains texture and scalar/vec3 parameters' hashes and values. Works somewhat like a combination of
xD9B12454_Section
| Material
Not researched enough. Rarely met. Always 52 bytes. Last four 32-bit integers are offsets to .texture names in strings block.
x3E45AA13_Section
| Material
Not researched enough. Always 520 bytes. Starts with a string filename of a .materialgraph. Last 8 bytes are not zeroes. 512 bytes for path and 8 bytes for 64-bit or two 32-bit values?
xE1275683_Section
| Material
Not researched enough. Always first section, always present, always 40 bytes.
x958F7B33_Section
| Material
Not researched enough. Met only once, in RCRA: A6D6F52A42745073
, required/materials/flowmap_water_custom.material.