constructor( intensity = 0.5, grayscale = false ) {

		super();

		const shader = FilmShader;

		/**
		 * The pass uniforms. Use this object if you want to update the
		 * `intensity` or `grayscale` values at runtime.
		 * ```js
		 * pass.uniforms.intensity.value = 1;
		 * pass.uniforms.grayscale.value = true;
		 * ```
		 *
		 * @type {Object}
		 */
		this.uniforms = UniformsUtils.clone( shader.uniforms );

		/**
		 * The pass material.
		 *
		 * @type {ShaderMaterial}
		 */
		this.material = new ShaderMaterial( {

			name: shader.name,
			uniforms: this.uniforms,
			vertexShader: shader.vertexShader,
			fragmentShader: shader.fragmentShader

		} );

		this.uniforms.intensity.value = intensity;
		this.uniforms.grayscale.value = grayscale;

		// internals

		this._fsQuad = new FullScreenQuad( this.material );

	}
Constructs a new film pass.

@param {number} [intensity=0.5] - The grain intensity in the range `[0,1]` (0 = no effect, 1 = full effect).
@param {boolean} [grayscale=false] - Whether to apply a grayscale effect or not.