Change render resolution

How would I be able to change the rendering resolution of the scene (for performance reasons)?

Basically I want a similar result as here:

Higher render resolution:

Lower render resolution:


Thank you.
Do you know if setting the hardwareScalingLevel to a value like 2 will boost performance by a significant amount? Or is it rather small.

It will help, but is not usually the first choice. It will give the user a poor experience. In my experience, we should usually focus first and reduce the number of independent meshes, materials,textures as much as possible. Optimizing Your Scene | Babylon.js Documentation

1 Like