Function createSmaaPostProcessTask
-
createSmaaPostProcessTask(
config: SmaaPostProcessTaskConfig,
engine: EngineContext,
scene?: SceneContext,
): SmaaPostProcessTaskParameters
- config: SmaaPostProcessTaskConfig
Source/target textures plus the edge threshold and search length.
- engine: EngineContext
The owning engine.
Optionalscene: SceneContextOptional owning scene. Omit for scene-less standalone frame graphs.
Returns SmaaPostProcessTask
The SMAA task. Add it at the end of the frame-graph chain, after tone mapping.
- config: SmaaPostProcessTaskConfig
Create an SMAA (Subpixel Morphological Anti-Aliasing) post-process task.