UnrealBloomPass.d.ts 965 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import {
  2. Color,
  3. MeshBasicMaterial,
  4. ShaderMaterial,
  5. Vector2,
  6. Vector3,
  7. WebGLRenderTarget
  8. } from '../../../src/Three';
  9. import { Pass } from './Pass';
  10. export class UnrealBloomPass extends Pass {
  11. constructor( resolution: Vector2, strength: number, radius: number, threshold: number );
  12. resolution: Vector2;
  13. strength: number;
  14. radius: number;
  15. threshold: number;
  16. clearColor: Color;
  17. renderTargetsHorizontal: WebGLRenderTarget[];
  18. renderTargetsVertical: WebGLRenderTarget[];
  19. nMips: number;
  20. renderTargetBright: WebGLRenderTarget;
  21. highPassUniforms: object;
  22. materialHighPassFilter: ShaderMaterial;
  23. separableBlurMaterials: ShaderMaterial[];
  24. compositeMaterial: ShaderMaterial;
  25. bloomTintColors: Vector3[];
  26. copyUniforms: object;
  27. materialCopy: ShaderMaterial;
  28. oldClearColor: Color;
  29. oldClearAlpha: number;
  30. basic: MeshBasicMaterial;
  31. fsQuad: object;
  32. dispose(): void;
  33. getSeperableBlurMaterial(): ShaderMaterial;
  34. getCompositeMaterial(): ShaderMaterial;
  35. }