12345678910111213141516171819202122232425262728293031323334 |
- import {
- Scene,
- Camera,
- ShaderMaterial,
- WebGLRenderTarget,
- MeshDepthMaterial,
- Color
- } from '../../../src/Three';
- import { Pass } from './Pass';
- export interface BokehPassParamters {
- focus?: number;
- aspect?: number;
- aperture?: number;
- maxblur?: number;
- width?: number;
- height?: number;
- }
- export class BokehPass extends Pass {
- constructor( scene: Scene, camera: Camera, params: BokehPassParamters );
- scene: Scene;
- camera: Camera;
- renderTargetColor: WebGLRenderTarget;
- renderTargetDepth: WebGLRenderTarget;
- materialDepth: MeshDepthMaterial;
- materialBokeh: ShaderMaterial;
- uniforms: object;
- fsQuad: object;
- oldClearColor: Color;
- }
|