Splats · function

createSplatPass

Build a pass for one capture.

Explained in Gaussian splats.

function createSplatPass(splats: SplatData, label?: string): SplatPass
import { createSplatPass } from '@driftengine/splats';

Parameters

ParameterTypeDescription
splatsSplatData
label?string

In depth

The consumer decides where it lands in the frame, by calling drawPass at that point. The documented slot is after opaque and translucent meshes, before particles and light volumes: splats are scene content that particles and beams are drawn through, and the depth test that makes the composition work only sees geometry drawn before it.