LinkWithMesh and advancedTexture.scale

It seems like setting advancedTexture.scale is breaking to GUI linked with mesh as seen in this example:
https://www.babylonjs-playground.com/indexStable.html#XCPP9Y#1156

Do you know a way to avoid that?

I use engine.setHardwareScalingLevel and advancedTexture.scale in order to let the player choose the quality of the game and improve its FPS if needed.
Thanks for your help :wink:

You cannot scale the texture manually or everything will die :wink:

There is a renderScale property for that:
https://www.babylonjs-playground.com/indexStable.html#XCPP9Y#1157

Hum I thought I already tried all scale possibilities! Thanks for the reminder, exactly what I needed :wink:

1 Like