MirrorTexture resize bug when blur kernel in use

Hi there!

It seems when using any blur kernel on a MirrorTexture and calling its resize() method, the texture doesn’t recover.

Here’s a repro:

The bug will trigger when resizing the playground viewer.
The bug happens without warnings in the console in WebGL engine modes, but I did just notice that with WebGPU engine it causes the engine to crash with errors.

Thanks!

Chris

cc @Evgeni_Popov

Thanks for reporting, here’s the fix:

1 Like