Exact shader and transition structure
A supported shader object is stored on the element as shader. Its layers array contains objects with preset and intensity:
{
"layers": [
{"preset": "warm", "intensity": 0.45},
{"preset": "film-grain", "intensity": 0.2}
],
"pixelSize": 4,
"distortionAmount": 0.01,
"distortionSpeed": 0.7,
"colorLevels": 5,
"edgeStrength": 0.65,
"tintColor": "#ffffff00"
}This object is the value of shader, not an entire GUI element. It has a maximum of eight recognized layers. An explicit empty shader object removes the element’s ordinary stack and opts out of a legacy fallback.
A GUI stores openTransition and closeTransition separately. Each can include type, duration, color, direction, origin, intensity, randomPool and avoidImmediateRepeat. Use the Transitions dialog for normal authoring rather than pasting unsupported room effect names into these fields.
Layer order is the order in the list. Shared shader parameters are siblings of layers, not extra fields inside each layer.
