File: TAARenderPass.md | Updated: 11/15/2025
Temporal Anti-Aliasing Render Pass.
When there is no motion in the scene, the TAA render pass accumulates jittered camera samples across frames to create a high quality anti-aliased result.
Note: This effect uses no reprojection so it is no TRAA implementation.
const taaRenderPass = new TAARenderPass( scene, camera );
taaRenderPass.unbiased = false;
composer.addPass( taaRenderPass );
TAARenderPass is an addon, and must be imported explicitly, see Installation#Addons.
import { TAARenderPass } from 'three/addons/postprocessing/TAARenderPass.js';
Constructs a new TAA render pass.
scene | The scene to render.
---|---
camera | The camera.
clearColor | The clear color of the render pass. Default is 0x000000.
clearAlpha | The clear alpha of the render pass. Default is 0.
Whether to accumulate frames or not. This enables the TAA.
Default is false.
The accumulation index.
Default is -1.
Overwritten and set to 0 by default.
Default is 0.
Overrides: SSAARenderPass#sampleLevel
Frees the GPU-related resources allocated by this instance. Call this method whenever the pass is no longer used in your app.
Overrides: SSAARenderPass#dispose
Performs the TAA render pass.
renderer | The renderer.
---|---
writeBuffer | The write buffer. This buffer is intended as the rendering destination for the pass.
readBuffer | The read buffer. The pass can access the result from the previous pass from this buffer.
deltaTime | The delta time in seconds.
maskActive | Whether masking is active or not.
Overrides: SSAARenderPass#render