Capítulo 276 de 859
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 );
Constructor
| Signature |
|---|
| `new TAARenderPass( scene : Scene, camera : Camera, clearColor : number |
Properties
| Property | Description |
|---|---|
.accumulate : boolean | Whether to accumulate frames or not. This enables the TAA. |
.accumulateIndex : number | The accumulation index. |
.sampleLevel : number | Overwritten and set to 0 by default. |
Methods
| Method | Description |
|---|---|
.dispose() | Frees the GPU-related resources allocated by this instance. Call this method whenever the pass is no longer used in your app. |
.render( renderer : WebGLRenderer, writeBuffer : WebGLRenderTarget, readBuffer : WebGLRenderTarget, deltaTime : number, maskActive : boolean ) | Performs the TAA render pass. |