One of 'normal', 'additive', 'max', 'opaque',
'luminous', 'volumetric'. See the file-level header for
per-mode semantics.
Layer opacity in [0, 1]. Currently only consulted
for mode === 'normal', where opacity >= 0.99 flips on
depthWrite. Default 1.0.
The complete THREE.js material state to apply (blending,
blend factors, depth, transparency, and a shaderOutputMode hint
for fragment shaders that need to know how to compose RGB).
Compute the complete blending state for a Luxar blending mode.
opacityonly affectsdepthWritefornormalmode (a fully-opaque normal layer should write depth so it occludes additive layers behind it). All other modes are opacity-independent.