import type { Plane } from 'three'; import { BasePass } from '../core/BasePass.js'; import type { PassRegistry } from '../core/BasePass.js'; export interface SSAOOptions { /** AO sample radius in world units. Default 0.5. Blender: Ambient Occlusion → Distance */ radius?: number; /** Minimum depth difference to generate occlusion. Default 0.005. */ minDistance?: number; /** Maximum depth difference to generate occlusion. Default 0.1. */ maxDistance?: number; /** * Clipping planes to apply to the pass's own normal/depth render of the scene. A scene that clips its meshes * (cutaways, sections) must give the same planes here, or the clipped-away half comes back as occlusion. * Default none. */ clippingPlanes?: Plane[]; } /** * SSAO — Screen Space Ambient Occlusion. * Blender Compositor: Ambient Occlusion pass. * * Wraps Three.js SSAOPass from three/addons. * Requires scene and camera — injected automatically by CompositorOutput. * * Post-compile injection needed: * ```typescript * comp.compile(renderer, scene, camera) * ``` */ export declare class SSAO extends BasePass { readonly passType = "SSAO"; parameters: { radius: number; minDistance: number; maxDistance: number; }; /** Planes applied to the pass's normal material. Not animatable, so not part of `parameters`. */ clippingPlanes: Plane[]; constructor(opts?: SSAOOptions); _threePassDeps(): string[]; _buildThree(width: number, height: number, reg: PassRegistry): unknown; } //# sourceMappingURL=SSAO.d.ts.map