Newer
Older
HuangJiPC / public / static / three / examples / jsm / shaders / BokehShader.d.ts
@zhangdeliang zhangdeliang on 21 Jun 371 bytes update
import {
	Uniform
} from '../../../src/Three';

export const BokehShader: {
	defines: {
		DEPTH_PACKING: number;
		PERSPECTIVE_CAMERA: number;
	}
	uniforms: {
		tColor: Uniform;
		tDepth: Uniform;
		focus: Uniform;
		aspect: Uniform;
		aperture: Uniform;
		maxblur: Uniform;
		nearClip: Uniform;
		farClip: Uniform;
	};
	vertexShader: string;
	fragmentShader: string;
};