UNPKG

threepipe

Version:

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

30 lines 1.14 kB
import { AScreenPassExtensionPlugin } from './AScreenPassExtensionPlugin'; /** * Chromatic Aberration Plugin * Adds an extension to {@link ScreenPass} material * for applying chromatic aberration effect on the final buffer before rendering to screen. * The intensity of the aberration can be controlled with the `intensity`(previously aberrationIntensity) property. * * @category Plugins */ export declare class ChromaticAberrationPlugin extends AScreenPassExtensionPlugin<''> { static readonly PluginType = "ChromaticAberration"; readonly extraUniforms: { readonly aberrationIntensity: { readonly value: 1; }; }; enabled: boolean; intensity: number; /** * 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 aberrationIntensity(): number; set aberrationIntensity(v: number); constructor(enabled?: boolean); } //# sourceMappingURL=ChromaticAberrationPlugin.d.ts.map