ThreePipe
    Preparing search index...

    Class TonemapPlugin

    Tonemap Plugin

    Adds an extension to ScreenPass material for applying tonemapping on the final buffer before rendering to screen.

    Also adds support for Uncharted2 tone-mapping.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __setDirty?: () => void
    _dirty: boolean = false
    _shaderPatch: string = TonemapShaderPatch
    _viewer?: ThreeViewer
    _viewerListeners: PartialRecord<IViewerEventTypes, (e: IViewerEvent) => void> = {}
    constructor: typeof AScreenPassExtensionPlugin & typeof AViewerPluginSync & typeof AViewerPlugin
    contrast: number
    enabled: boolean = true
    exposure: number = 1
    extraDefines: { TONEMAP_BACKGROUND: "1" } = ...
    extraUniforms: {
        toneMappingContrast: { value: 1 };
        toneMappingSaturation: { value: 1 };
    } = ...
    priority: number = -100

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

    saturation: number
    tonemapBackground: boolean = true
    toneMapping: ToneMapping = ACESFilmicToneMapping
    uiConfig?: UiObjectConfig<any, string, any> = undefined
    OldPluginType?: string
    PluginType: "Tonemap" = 'Tonemap'

    Accessors

    Methods