12345678910111213141516171819202122232425262728293031323334 |
- import {
- WebGLRenderTarget,
- ShaderMaterial
- } from '../../../src/Three';
- import { Pass } from './Pass';
- export class AdaptiveToneMappingPass extends Pass {
- constructor( adaptive?: boolean, resolution?: number );
- adaptive: boolean;
- resolution: number;
- needsInit: number;
- luminanceRT: WebGLRenderTarget;
- previousLuminanceRT: WebGLRenderTarget;
- currentLuminanceRT: WebGLRenderTarget;
- copyUniforms: object;
- materialCopy: ShaderMaterial;
- materialLuminance: ShaderMaterial;
- adaptLuminanceShader: object;
- materialAdaptiveLum: ShaderMaterial;
- materialToneMap: ShaderMaterial;
- fsQuad: object;
- reset(): void;
- setAdaptive( adaptive: boolean ): void;
- setAdaptionRate( rate: number ): void;
- setMinLuminance( minLum: number ): void;
- setMaxLuminance( maxLum: number ): void;
- setAverageLuminance( avgLum: number ): void;
- setMiddleGrey( middleGrey: number ): void;
- dispose(): void;
- }
|