AdaptiveToneMappingPass.d.ts 895 B

12345678910111213141516171819202122232425262728293031323334
  1. import {
  2. WebGLRenderTarget,
  3. ShaderMaterial
  4. } from '../../../src/Three';
  5. import { Pass } from './Pass';
  6. export class AdaptiveToneMappingPass extends Pass {
  7. constructor( adaptive?: boolean, resolution?: number );
  8. adaptive: boolean;
  9. resolution: number;
  10. needsInit: number;
  11. luminanceRT: WebGLRenderTarget;
  12. previousLuminanceRT: WebGLRenderTarget;
  13. currentLuminanceRT: WebGLRenderTarget;
  14. copyUniforms: object;
  15. materialCopy: ShaderMaterial;
  16. materialLuminance: ShaderMaterial;
  17. adaptLuminanceShader: object;
  18. materialAdaptiveLum: ShaderMaterial;
  19. materialToneMap: ShaderMaterial;
  20. fsQuad: object;
  21. reset(): void;
  22. setAdaptive( adaptive: boolean ): void;
  23. setAdaptionRate( rate: number ): void;
  24. setMinLuminance( minLum: number ): void;
  25. setMaxLuminance( maxLum: number ): void;
  26. setAverageLuminance( avgLum: number ): void;
  27. setMiddleGrey( middleGrey: number ): void;
  28. dispose(): void;
  29. }