function DisplacementFilter(sprite, scale) {
        var _this = this;
        var maskMatrix = new _pixi_math__WEBPACK_IMPORTED_MODULE_1__.Matrix();
        sprite.renderable = false;
        _this = _super.call(this, vertex, fragment, {
            mapSampler: sprite._texture,
            filterMatrix: maskMatrix,
            scale: { x: 1, y: 1 },
            rotation: new Float32Array([1, 0, 0, 1]),
        }) || this;
        _this.maskSprite = sprite;
        _this.maskMatrix = maskMatrix;
        if (scale === null || scale === undefined) {
            scale = 20;
        }
        /**
         * scaleX, scaleY for displacements
         * @member {PIXI.Point}
         */
        _this.scale = new _pixi_math__WEBPACK_IMPORTED_MODULE_1__.Point(scale, scale);
        return _this;
    }
@param {PIXI.Sprite} sprite - The sprite used for the displacement map. (make sure its added to the scene!)
@param scale - The scale of the displacement