import { BasePass } from '../core/BasePass.js'; import type { PassRegistry } from '../core/BasePass.js'; export interface ZCombineOptions { /** * Depth split point [0–1]. Pixels with luma below this are treated as far. * Default 0.5. Blender: Z Combine → use luminance as depth proxy. */ split?: number; /** Blend softness around the split [0–1]. Default 0.1. */ softness?: number; } /** * ZCombine — Blender Compositor: Z Combine node. * * In a linear render pipeline, a true Z combine (selecting pixels by * depth buffer comparison) requires two separate render targets. * This pass implements a luminance-keyed depth blend as a single-pass * approximation: pixels darker than `split` are treated as "far" and * receive a darken/fade effect; bright pixels are treated as "near". * * For a true two-target Z combine, render to two WebGLRenderTargets * and composite them yourself before passing to the pipeline. */ export declare class ZCombine extends BasePass { readonly passType = "ZCombine"; parameters: { split: number; softness: number; }; constructor(opts?: ZCombineOptions); _threePassDeps(): string[]; _buildThree(_w: number, _h: number, reg: PassRegistry): unknown; } //# sourceMappingURL=ZCombine.d.ts.map