API

Interface ExtractHighlightsPostProcessTaskConfig

Configuration for createExtractHighlightsPostProcessTask: luminance threshold and exposure applied before thresholding.

interface ExtractHighlightsPostProcessTaskConfig {
    alphaMode?: PostProcessAlphaMode;
    clear?: boolean;
    exposure?: number;
    name?: string;
    sourceSamplingMode?: PostProcessSamplingMode;
    sourceTexture: RenderTarget;
    targetTexture?: RenderTarget | null;
    threshold?: number;
    viewport?: NormalizedViewport | null;
}

Hierarchy

  • Omit<PostProcessTaskConfig, "_shader">
    • ExtractHighlightsPostProcessTaskConfig
Index
clear?: boolean

Clear the target before drawing. Set false when several viewport passes share a target.

exposure?: number
name?: string
sourceSamplingMode?: PostProcessSamplingMode
sourceTexture: RenderTarget
targetTexture?: RenderTarget | null
threshold?: number
viewport?: NormalizedViewport | null