mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-18 16:24:38 +00:00
craft-mcmat
The MCMAT v3 portable material is a ZIP containing a version-only material.json, one
source.sbs, and the required source assets under resources/. The sole root-level
material graph in the SBS is the entry. Applications inspect its exposed controls and
cook its outputs through MaterialCraft. Texture maps and MaterialX documents are generated
by exporters. Earlier archives must be republished from their original projects.
Material::open checks archive entries and expansion budgets before returning source
files. write compresses the XML and version marker and preserves source asset bytes.