Multi-canvas blurs main Canvas

Does anyone know why this canvas is blurred? A view has been registered with the engine. I’ve tried playing around with hardwareScaling, devicePixelRatio, style.width and style.height, but nothing works.

https://jsfiddle.net/Lxbtegp8/

Any help would be greatly appreciated.

Hello I feel like to need to add:

window.addEventListener("resize", function() {
                        engine.resize();
                    });

Thanks for your help. Yes I’ve tried this, but it doesn’t fix the problem.

Having only one view in the scene and on the second canvas allows for many cameras on the main canvas. This makes for a flexible approach.

Updated fiddle:
https://jsfiddle.net/h0sntvfc/

Did you try with the latest preview I shipped yesterday?

1 Like

Thanks for fixing this! :smiley: :smiley:

I needed to clear the browser cache for the changes to take place (as you suggested earlier).

1 Like