function LuminosityMaterial() {
	    var _this;

	    var colorOutput = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
	    var luminanceRange = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;

	    classCallCheck(this, LuminosityMaterial);

	    var maskLuminance = luminanceRange !== null;
	    _this = possibleConstructorReturn(this, getPrototypeOf$2(LuminosityMaterial).call(this, {
	      type: "LuminosityMaterial",
	      uniforms: {
	        tDiffuse: new Uniform(null),
	        distinction: new Uniform(1.0),
	        range: new Uniform(maskLuminance ? luminanceRange : new Vector2())
	      },
	      fragmentShader: fragment$11,
	      vertexShader: vertex$11
	    }));

	    _this.setColorOutputEnabled(colorOutput);

	    _this.setLuminanceRangeEnabled(maskLuminance);

	    return _this;
	  }
Constructs a new luminosity material.

@param {Boolean} [colorOutput=false] - Defines whether the shader should output colours scaled with their luminance value.
@param {Vector2} [luminanceRange] - If provided, the shader will mask out texels that aren't in the specified luminance range.