Class FilmicGrainPlugin

Filmic Grain Plugin Adds an extension to ScreenPass material for applying filmic grain effect on the final buffer before rendering to screen. The intensity of the grain can be controlled with the intensity property and the multiply property can be used to multiply the grain effect on the image instead of adding.

Hierarchy (View Summary)

Constructors

Properties

__setDirty?: () => void
_dirty: boolean = false
_shaderPatch: string = 'diffuseColor = FilmicGrain(diffuseColor);'
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<
    | "dispose"
    | "*"
    | "update"
    | "preRender"
    | "postRender"
    | "preFrame"
    | "postFrame"
    | "addPlugin"
    | "removePlugin"
    | "renderEnabled"
    | "renderDisabled",
    (e: IViewerEvent) => void,
> = {}
constructor: typeof AScreenPassExtensionPlugin & typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean
extraUniforms: { grainIntensity: { value: 1 }; grainMultiply: { value: false } } = ...
intensity: number = 10
multiply: boolean = false
priority: number = -50

The priority of the material extension when applied to the material in ScreenPass set to very low priority, so applied at the end

uiConfig?: UiObjectConfig = undefined
OldPluginType?: string
PluginType: "FilmicGrain" = 'FilmicGrain'

Accessors

Methods