Interface SsaoTaskConfig
interface SsaoTaskConfig {
camera: Camera;
depthTexture: RenderTarget;
intensity?: number;
name?: string;
normalSpace?: "view" | "world";
normalTexture?: RenderTarget;
quality?: SsaoQuality;
radius?: number;
temporal?: boolean | SsaoTemporalOptions;
}
camera: Camera;
depthTexture: RenderTarget;
intensity?: number;
name?: string;
normalSpace?: "view" | "world";
normalTexture?: RenderTarget;
quality?: SsaoQuality;
radius?: number;
temporal?: boolean | SsaoTemporalOptions;
}
Index
Properties
camera
depth Texture
Single-sample depth attachment produced before this task.
Optionalintensity
intensity?: number
Normalized strength, 0..1.
Optionalname
name?: string
Optionalnormal Space
normalSpace?: "view" | "world"
Coordinate space of supplied normals. Default "view".
Optionalnormal Texture
Optional signed unit normals, matching the depth target's pixel dimensions.
Optionalquality
Spatial sampling preset. Default "high" (18 samples per evaluated pixel).
Optionalradius
radius?: number
Optionaltemporal
Reconstruction is enabled by default. False selects spatial-only output; options configure history and object velocity.
Configuration for an AO-only, full-resolution frame-graph task.