Interface TaaPostProcessTaskConfig
interface TaaPostProcessTaskConfig {
alphaMode?: PostProcessAlphaMode;
clear?: boolean;
disableOnCameraMove?: boolean;
factor?: number;
name?: string;
samples?: number;
sourceRenderTask: RenderTask;
sourceSamplingMode?: PostProcessSamplingMode;
sourceTexture: RenderTarget;
targetTexture?: RenderTarget | null;
viewport?: NormalizedViewport | null;
}
alphaMode?: PostProcessAlphaMode;
clear?: boolean;
disableOnCameraMove?: boolean;
factor?: number;
name?: string;
samples?: number;
sourceRenderTask: RenderTask;
sourceSamplingMode?: PostProcessSamplingMode;
sourceTexture: RenderTarget;
targetTexture?: RenderTarget | null;
viewport?: NormalizedViewport | null;
}
Hierarchy (View Summary)
- PostProcessTaskSettings
- TaaPostProcessTaskConfig
Properties
Optionalalpha Mode
Optionalclear
clear?: boolean
Clear the target before drawing. Set false when several viewport passes share a target.
Optionaldisable On Camera Move
disableOnCameraMove?: boolean
Force a one-frame reset (output == current) whenever the camera moves (default: true). Avoids ghosting while the view changes.
Optionalfactor
factor?: number
Blend weight of the current frame against the accumulated history (default: 0.05).
Optionalname
name?: string
Optionalsamples
samples?: number
Number of jitter samples in the Halton sequence (default: 8).
source Render Task
The render task that draws the scene into sourceTexture. TAA jitters this
task's camera projection each frame (mirrors BJS FrameGraphTAATask.objectRendererTask).
Configuration for
createTaaPostProcessTask.