The material-state contract as TSL nodes: the four float states, plus optional heat (0…1, "on fire
right now"), which drives the ember glow, and ash (0…1, white ash vs black char where burnt). Any field may be left out: missing states cost nothing (no
shader code is generated for them). Numbers are accepted as constants.
The material-state contract as TSL nodes: the four float states, plus optional
heat(0…1, "on fire right now"), which drives the ember glow, andash(0…1, white ash vs black char where burnt). Any field may be left out: missing states cost nothing (no shader code is generated for them). Numbers are accepted as constants.