function BokehMaterial(camera) {
	    var _this;

	    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

	    classCallCheck(this, BokehMaterial);

	    var settings = Object.assign({
	      focus: 1.0,
	      dof: 0.02,
	      aperture: 0.025,
	      maxBlur: 1.0
	    }, options);
	    _this = possibleConstructorReturn(this, getPrototypeOf$2(BokehMaterial).call(this, {
	      type: "BokehMaterial",
	      uniforms: {
	        cameraNear: new Uniform(0.1),
	        cameraFar: new Uniform(2000),
	        aspect: new Uniform(1.0),
	        tDiffuse: new Uniform(null),
	        tDepth: new Uniform(null),
	        focus: new Uniform(settings.focus),
	        dof: new Uniform(settings.dof),
	        aperture: new Uniform(settings.aperture),
	        maxBlur: new Uniform(settings.maxBlur)
	      },
	      fragmentShader: fragment$1,
	      vertexShader: vertex$1,
	      depthWrite: false,
	      depthTest: false
	    }));

	    _this.adoptCameraSettings(camera);

	    return _this;
	  }
Constructs a new bokeh material.

@param {PerspectiveCamera} [camera] - A camera.
@param {Object} [options] - The options.
@param {Number} [options.focus=1.0] - The focus distance, corresponds directly with the scene depth.
@param {Number} [options.dof=0.02] - Depth of field. An area in front of and behind the focus point that still appears sharp.
@param {Number} [options.aperture=0.025] - Camera aperture scale. Bigger values for stronger blur and shallower depth of field.
@param {Number} [options.maxBlur=1.0] - Maximum blur strength.