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.
30 lines • 1.16 kB
TypeScript
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=../../src/plugins/postprocessing/ChromaticAberrationPlugin.d.ts.map