rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.18k stars 260 forks source link

Images with your shaders break when window is resized using Phaser 3.60 #377

Closed LaP0573 closed 11 months ago

LaP0573 commented 11 months ago

Since updating to 3.60, any object with a shader (for example the outline shader or the blur shader) will break when the window is resized : instead of staying in the spot it was in, it moves according to the window resize & also stretches.

Then any zooming in/out with the camera will have it stuck in its screen position, until the shader is removed (and the object jumps back to its original position).

LaP0573 commented 11 months ago

https://github.com/photonstorm/phaser/issues/6503 duplicate of this issue so closing