// Enable 4-layer order-independent transparency. // OIT is expensive (per-pixel sorting) — only turn it on when you have // overlapping translucent geometry whose draw order can't be sorted on // the CPU (particles, smoke, stacked glass). For most lenses the default // is the right choice. See: // https://developers.snap.com/lens-studio/features/graphics/advanced/order-independent-transparency camera.oitLayers = Editor.Components.CameraOitLayers.Layers4; console.log(`oitLayers: ${camera.oitLayers}`);
The same entity as in Lens Scripting.
See
Editor.Components.Camera.
Example