API

Interface SsaoTemporalOptions

interface SsaoTemporalOptions {
    enabled?: boolean;
    historySamples?: number;
    velocityHasPreviousDepth?: boolean;
    velocityTexture?: RenderTarget;
}
Index
enabled?: boolean

Initial reconstruction state. Default true; change task.temporal.enabled for live toggles.

historySamples?: number

Maximum accumulated history samples, 1..16 (the native reconstruction length). Default 16.

velocityHasPreviousDepth?: boolean

RGBA velocity Z contains previous positive view depth. Default false.

velocityTexture?: RenderTarget

Previous-minus-current NDC XY / 2, Y up. Omit only for static geometry.