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)

Implements

Constructors

Properties

_dirty: boolean = false
_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" | "removePlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

bufferType: TextureDataType

Note - this is not used right now

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

Accessors

Methods

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

    Parameters

    • _: 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