Optionalmodeinject (default): patch the material's shaders at compile time (stock or
inline materials whose shader does not already include oit.glsl).attach: the material's shader already #includes oit.glsl and calls
oitProcess (library materials); only wire up the variant machinery.OptionalshareNames of custom uniform-container properties on the material to share by
reference with the per-pass variants. Only needed for non-ShaderMaterial
materials that read a custom uniforms object in onBeforeCompile.
OptionalsideForce a specific side on the OIT variants (e.g. DoubleSide). Defaults to
the material's own side.
OptionalsyncNames of value properties (e.g. color, metalness) to keep live on the
per-pass variants of a cloned built-in material. See
OitMaterialOptions.syncProperties. Ignored for ShaderMaterials
(already live via shared uniforms).
Props for OitMaterial.