UNPKG

threepipe

Version:

A 3D viewer framework built on top of three.js in TypeScript with a focus on quality rendering, modularity and extensibility.

35 lines 1.25 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; get grainIntensity(): number; set grainIntensity(v: number); constructor(enabled?: boolean); } //# sourceMappingURL=FilmicGrainPlugin.d.ts.map