function BokehPass(focus, aperture, maxblur)
{
	Pass.call(this);

	this.type = "Bokeh";

	// Render targets
	this.renderTargetColor = new WebGLRenderTarget(0, 0, Pass.RGBLinear);
	this.renderTargetDepth = this.renderTargetColor.clone();

	// Depth material
	this.materialDepth = new MeshDepthMaterial();
	this.materialDepth.depthPacking = RGBADepthPacking;
	this.materialDepth.blending = NoBlending;

	// Bokeh material
	this.uniforms = UniformsUtils.clone(BokehShader.uniforms);
	this.uniforms["tDepth"].value = this.renderTargetDepth.texture;

	this.materialBokeh = new ShaderMaterial(
		{
			defines: BokehShader.defines,
			uniforms: this.uniforms,
			vertexShader: BokehShader.vertexShader,
			fragmentShader: BokehShader.fragmentShader
		});

	// Scene
	this.createQuadScene();
	this.quad.material = this.materialBokeh;

	// Setters and getters for uniforms
	var self = this;
	Object.defineProperties(this,
		{
		/**
		 * Camera aperture.
		 *
		 * @property aperture
		 * @type {number}
		 */
			aperture:
		{
			get: function() {return self.uniforms["aperture"].value;},
			set: function(value) {self.uniforms["aperture"].value = value;}
		},

			/**
			 * Focus point distance.
			 *
			 * @property focus
			 * @type {number}
			 */
			focus:
		{
			get: function() {return self.uniforms["focus"].value;},
			set: function(value) {self.uniforms["focus"].value = value;}
		},

			/**
			 * Maximum level of blur that can be applied to more distant objects.
			 *
			 * @property enabled
			 * @type {maxblur}
			 */
			maxblur:
		{
			get: function() {return self.uniforms["maxblur"].value;},
			set: function(value) {self.uniforms["maxblur"].value = value;}
		}
		});

	this.focus = focus !== undefined ? focus : 1.0;
	this.aperture = aperture !== undefined ? aperture : 1.0;
	this.maxblur = maxblur !== undefined ? maxblur : 0.2;
}
Depth-of-field post-process with bokeh shader.

@class BokehPass
@module Postprocessing
@param {number} focus Focus distance.
@param {number} aperture Camera aperture.
@param {number} maxblur Maximum level of blur.