123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- import {
- Camera,
- Color,
- DataTexture,
- Material,
- MeshNormalMaterial,
- Scene,
- ShaderMaterial,
- Vector3,
- WebGLRenderer,
- WebGLRenderTarget
- } from '../../../src/Three';
- import { Pass } from './Pass';
- export class SSAOPass extends Pass {
- constructor( scene: Scene, camera: Camera, width?: number, height?: number );
- scene: Scene;
- camera: Camera;
- width: number;
- height: boolean;
- clear: boolean;
- kernelRadius: boolean;
- kernelSize: boolean;
- kernel: Vector3[];
- noiseTexture: DataTexture;
- output: number;
- minDistance: number;
- maxDistance: number;
- beautyRenderTarget: WebGLRenderTarget;
- normalRenderTarget: WebGLRenderTarget;
- ssaoRenderTarget: WebGLRenderTarget;
- blurRenderTarget: WebGLRenderTarget;
- ssaoMaterial: ShaderMaterial;
- normalMaterial: MeshNormalMaterial;
- blurMaterial: ShaderMaterial;
- depthRenderMaterial: ShaderMaterial;
- copyMaterial: ShaderMaterial;
- fsQuad: object;
- originalClearColor: Color;
- static OUTPUT: {
- Default: number;
- SSAO: number;
- Blur: number;
- Beauty: number;
- Depth: number;
- Normal: number;
- };
- dipose(): void;
- generateSampleKernel(): Vector3[];
- generateRandomKernelRotations(): void;
- renderPass( renderer: WebGLRenderer, passMaterial: Material, renderTarget: WebGLRenderTarget, clearColor?: Color, clearAlpha?: number ): void;
- renderPass( renderer: WebGLRenderer, passMaterial: Material, renderTarget: WebGLRenderTarget, clearColor?: number, clearAlpha?: number ): void;
- renderOverride( renderer: WebGLRenderer, overrideMaterial: Material, renderTarget: WebGLRenderTarget, clearColor?: Color, clearAlpha?: number ): void;
- renderOverride( renderer: WebGLRenderer, overrideMaterial: Material, renderTarget: WebGLRenderTarget, clearColor?: number, clearAlpha?: number ): void;
- }
|