UNPKG

threepipe

Version:

A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.

41 lines 1.35 kB
import { AScreenPassExtensionPlugin } from './AScreenPassExtensionPlugin'; /** * Filmic Grain Plugin * Adds an extension to {@link 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. * * @category Plugins */ export declare class FilmicGrainPlugin extends AScreenPassExtensionPlugin { static readonly PluginType = "FilmicGrain"; readonly extraUniforms: { readonly grainIntensity: { readonly value: 1; }; readonly grainMultiply: { readonly value: false; }; }; enabled: boolean; intensity: number; multiply: boolean; /** * The priority of the material extension when applied to the material in ScreenPass * set to very low priority, so applied at the end */ priority: number; parsFragmentSnippet: () => string; protected _shaderPatch: string; /** * @deprecated */ get grainIntensity(): number; /** * @deprecated */ set grainIntensity(v: number); constructor(enabled?: boolean); } //# sourceMappingURL=../../src/plugins/postprocessing/FilmicGrainPlugin.d.ts.map