we have:
public resize(size: any) {
this.releaseInternalTextures();
this._internalTextures = this._engine.createMultipleRenderTarget(size, this._multiRenderTargetOptions);
this._createInternalTextures();
}
and:
private _createInternalTextures(): void {
this._internalTextures = this._engine.createMultipleRenderTarget(this._size, this._multiRenderTargetOptions);
}
Given that, I think resize should be instead:
public resize(size: any) {
this.releaseInternalTextures();
this._size = size;
this._createInternalTextures();
}
?