# Change hardware scaling level in Babylon sandbox

**URL:** <https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769>\
**Category:** Questions\
**Tags:** sandbox\
**Created:** [May 13, 2023, 7:29pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769 "2023-05-13T19:29:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.babylonjs.com/u/val)\
**Post date:** [May 13, 2023, 7:29pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/1 "2023-05-13T19:29:59Z")

</div>

Hi,

Is it possible to change Hardware scaling level in the [https://sandbox.babylonjs.com/](https://sandbox.babylonjs.com/)?  
Due to the custom scale factor of the display the rendering looks very blurry.

---

<div class="post-metadata">

**Author:** ![jamessimo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/jamessimo/32/26847_2.png) [@jamessimo](https://forum.babylonjs.com/u/jamessimo)\
**Post date:** [May 14, 2023, 11:55am UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/2 "2023-05-14T11:55:59Z")

</div>

I’m pretty sure there is. Search for “crisp text” in the GUI documents, and there is a playground example of how to get crisp text and it does it via hardware scaling I’m pretty sure.

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.babylonjs.com/u/val)\
**Post date:** [May 14, 2023, 1:35pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/3 "2023-05-14T13:35:03Z")

</div>

Thank you for your advise, but I don’t need a ‘crisp text’. I need to set .hardwareScalingLevel to the particular value manually.

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.babylonjs.com/u/val)\
**Post date:** [May 14, 2023, 1:36pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/4 "2023-05-14T13:36:44Z")

</div>

There is a readonly property in the sandbox. I just want it editable.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [May 14, 2023, 1:53pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/5 "2023-05-14T13:53:59Z")

</div>

One of the possible ways is to run the Sandbox at localhost or at your own server and set a desired hardwareScalingLevel through the code (or even add a button or slider for this operation). This way this property will be editable as you need.  
Docs how to build here - [Start Contributing to Babylon.js | Babylon.js Documentation](https://doc.babylonjs.com/contribute/toBabylon/HowToContribute#the-build)  
Here is the example of Sandbox with TweakPane (made for some special demo purpose) - [Babylon.js Sandbox - View glTF, glb, obj and babylon files](https://igiuk.com/se1/)

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.babylonjs.com/u/val)\
**Post date:** [May 14, 2023, 2:20pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/6 "2023-05-14T14:20:37Z")

</div>

Thank you for your answer.  
I just wanted to find the editable property in the [https://sandbox.babylonjs.com/](https://sandbox.babylonjs.com/).  
If you need to change the font size in the MS Windows, do you really want to build custom OS Windows?  
BTW: Your example gives the following message: “This site can’t be reached”.

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [May 14, 2023, 2:47pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/7 "2023-05-14T14:47:50Z")

</div>

> [@val](#):
>
> I just wanted to find the editable property in the [https://sandbox.babylonjs.com/](https://sandbox.babylonjs.com/).

There is no such property ☹

> [@val](#):
>
> If you need to change the font size in the MS Windows, do you really want to build custom OS Windows?

This comparison is not correct 🙂

> [@val](#):
>
> BTW: Your example gives the following message: “This site can’t be reached”.

It works fine for me and some other people…

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.babylonjs.com/u/val)\
**Post date:** [May 14, 2023, 6:39pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/8 "2023-05-14T18:39:33Z")

</div>

> [@labris](#):
>
> There is no such property ☹

Thank you.

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [May 15, 2023, 2:45pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/9 "2023-05-15T14:45:47Z")

</div>

@val this could be added to the inspector do you want to contribute it ?

---

<div class="post-metadata">

**Author:** ![val](https://avatars.discourse-cdn.com/v4/letter/v/e56c9b/32.png) [@val](https://forum.babylonjs.com/u/val)\
**Post date:** [May 15, 2023, 5:41pm UTC](https://forum.babylonjs.com/t/change-hardware-scaling-level-in-babylon-sandbox/40769/10 "2023-05-15T17:41:17Z")

</div>

Thank you @sebavan for your proposal.  
Actually, I have no ready to commit code to contribute it to the inspector project right now. Blurry rendering in the browser probably does not affect many users, so it’s not top priority at least for me. Currently I’m coding glTF extra (or extension), which allows to dynamically update scene with with glTF diff/patch. But, it still has a lot of imperfections. If sometime I found it’s ready to be shared with others I will try to contribute it.  
Moreover, I don’t think that contributing code to the inspector project I’m not familiar with is a very good idea at all. If I have a free hour or two I’m trying to contribute code to my own side project (which is free too) just to make it as solid as possible, so other people can use it without much questions.
