function DotScreenMaterial() {
	    var _this;

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

	    classCallCheck(this, DotScreenMaterial);

	    var settings = Object.assign({
	      average: false,
	      angle: 1.57,
	      scale: 1.0,
	      intensity: 1.0
	    }, options);
	    _this = possibleConstructorReturn(this, getPrototypeOf$2(DotScreenMaterial).call(this, {
	      type: "DotScreenMaterial",
	      uniforms: {
	        tDiffuse: new Uniform(null),
	        angle: new Uniform(settings.angle),
	        scale: new Uniform(settings.scale),
	        intensity: new Uniform(settings.intensity),
	        offsetRepeat: new Uniform(new Vector4(0.5, 0.5, 1.0, 1.0))
	      },
	      fragmentShader: fragment$7,
	      vertexShader: vertex$7,
	      depthWrite: false,
	      depthTest: false
	    }));

	    _this.setAverageEnabled(settings.average);

	    return _this;
	  }
Constructs a new dot screen material.

@param {Boolean} [options] - The options.
@param {Boolean} [options.average=false] - Whether the shader should output the colour average (black and white).
@param {Boolean} [options.angle=1.57] - The angle of the dot pattern.
@param {Boolean} [options.scale=1.0] - The scale of the dot pattern.
@param {Boolean} [options.intensity=1.0] - The intensity of the effect.