Class ProgressivePlugin

Progressive Plugin

Adds a post-render pass to blend the last frame with the current frame. This can be used to create a progressive rendering effect which is useful for progressive shadows, gi, denoising, baking, anti-aliasing, and many other effects.

Hierarchy (view full)




_dirty: boolean = false
_pass?: ProgressiveBlendPass
_targets: Map<string, WebGLRenderTarget> = ...

Different targets for different render cameras. Need to save them all here since we need them in the next frame.

_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"update" | "dispose" | "preRender" | "postRender" | "preFrame" | "postFrame" | "*" | "addPlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

bufferType: TextureDataType
constructor: typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean = true
maxFrameCount: number
passId: "progressive" = 'progressive'
uiConfig?: UiObjectConfig<any, string, any> = undefined
PluginType: "ProgressivePlugin" = 'ProgressivePlugin'



  • Get recording delta post render, For use with animations to sync with converge mode in canvas recorder. See PopmotionPlugin for usage.


    • _: string = 'CanvasRecorder'

    Returns number

    • delta time in milliseconds, or 0 when converging, or -1 in case of not recording in converge mode

Generated using TypeDoc