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 full)

Constructors

Properties

__setDirty?: (() => void)

Type declaration

    • (): void
    • Returns void

_dirty: boolean = false
_shaderPatch: string = 'diffuseColor = FilmicGrain(diffuseColor);'
_viewer?: ThreeViewer
_viewerListeners: PartialRecord<"update" | "dispose" | "preRender" | "postRender" | "preFrame" | "postFrame" | "*" | "addPlugin" | "renderEnabled" | "renderDisabled", ((e) => void)> = {}

Type declaration

constructor: typeof AScreenPassExtensionPlugin & typeof AViewerPluginSync & typeof AViewerPlugin
enabled: boolean
extraUniforms: {
    grainIntensity: {
        value: 1;
    };
    grainMultiply: {
        value: false;
    };
} = ...

Type declaration

  • Readonly grainIntensity: {
        value: 1;
    }
    • Readonly value: 1
  • Readonly grainMultiply: {
        value: false;
    }
    • Readonly 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<any, string, any> = undefined
PluginType: "FilmicGrain" = 'FilmicGrain'

Accessors

Methods

Generated using TypeDoc