Interface ExtractHighlightsPostProcessTaskConfig
interface ExtractHighlightsPostProcessTaskConfig {
alphaMode?: PostProcessAlphaMode;
clear?: boolean;
exposure?: number;
name?: string;
sourceSamplingMode?: PostProcessSamplingMode;
sourceTexture: RenderTarget;
targetTexture?: RenderTarget | null;
threshold?: number;
viewport?: NormalizedViewport | null;
}
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
Properties
Optionalalpha Mode
Optionalclear
clear?: boolean
Clear the target before drawing. Set false when several viewport passes share a target.
Optionalexposure
exposure?: number
Optionalname
name?: string
Optionalsource Sampling Mode
source Texture
Optionaltarget Texture
Optionalthreshold
threshold?: number
Configuration for
createExtractHighlightsPostProcessTask: luminancethresholdandexposureapplied before thresholding.