/** * Depth-of-field shader with bokeh * ported from GLSL shader by Martins Upitis * http://artmartinsh.blogspot.com/2010/02/glsl-lens-blur-filter-with-bokeh.html */ import type { IUniform, Texture } from 'three'; import type { IShader } from './types'; export type BokehShaderDefines = { DEPTH_PACKING: number; PERSPECTIVE_CAMERA: number; }; export type BokehShaderUniforms = { aperture: IUniform; aspect: IUniform; farClip: IUniform; focus: IUniform; maxblur: IUniform; nearClip: IUniform; tColor: IUniform; tDepth: IUniform; }; export interface IBokehShader extends IShader { } export declare const BokehShader: IBokehShader;