# Higher Quality .GLB mesh renders?

**URL:** <https://forum.babylonjs.com/t/higher-quality-glb-mesh-renders/46761>\
**Category:** Questions\
**Created:** [December 27, 2023, 7:49pm UTC](https://forum.babylonjs.com/t/higher-quality-glb-mesh-renders/46761 "2023-12-27T19:49:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![giles](https://avatars.discourse-cdn.com/v4/letter/g/c68b51/32.png) [@giles](https://forum.babylonjs.com/u/giles)\
**Post date:** [December 27, 2023, 7:49pm UTC](https://forum.babylonjs.com/t/higher-quality-glb-mesh-renders/46761/1 "2023-12-27T19:49:13Z")

</div>

Hi folks,

First of all, **fantastic** 3D Framework, kudos to the all creators and maintainers involved. I just had the following general question: **I wondered if perhaps there were established, recommended settings for rendering GLB models at the highest possible quality _even_ where this would essentially mean some trade-off in terms of performance?**

In recent weeks I’ve imported several models from Sketchfab (after viewing them in the SketchFab model viewer) and noted that they tend to render in significantly lower quality in BabylonJS. I’ve been able to **significantly** improve the render by using environment, HdrTextures, configuring shadows and fine-tuning specular highlights on materials. However, the resulting renders still do not look quite as sharp as they do in SketchFab. Are there any other settings I can tweak to improve render quality?

To demonstrate my point, attached are two screenshots of the **same** model, the first is rendered in babylonjs whilst the second is rendered in the sketchfab model viewer.

 ![iphone-13-pro-babylonjs](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/e/4/e4a841406a9a570e5e4902dac3892067f5f5642b.jpeg)  
 ![iphone-13-pro-sketch-fab](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/a/b/abf76221b082cf331956e52242b81a2f4193cd96.jpeg)

---

<div class="post-metadata">

**Author:** ![musk](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/musk/32/17156_2.png) [@musk](https://forum.babylonjs.com/u/musk)\
**Post date:** [December 28, 2023, 3:48am UTC](https://forum.babylonjs.com/t/higher-quality-glb-mesh-renders/46761/2 "2023-12-28T03:48:02Z")

</div>

For example

> [@Anitaliasing issue or model sharpness](https://forum.babylonjs.com/t/anitaliasing-issue-or-model-sharpness/45529/7):
>
> You can try engine.setHardwareScalingLevel(0.4), but it will be a bit expensive. [https://doc.babylonjs.com/typedoc/classes/BABYLON.Engine#setHardwareScalingLevel](https://doc.babylonjs.com/typedoc/classes/BABYLON.Engine#setHardwareScalingLevel)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [December 28, 2023, 10:44am UTC](https://forum.babylonjs.com/t/higher-quality-glb-mesh-renders/46761/3 "2023-12-28T10:44:55Z")

</div>

You should also compare the use of the same environment texture in both cases, as this is the most important parameter when using PBR materials.

---

<div class="post-metadata">

**Author:** ![shaderbytes](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/shaderbytes/32/174_2.png) [@shaderbytes](https://forum.babylonjs.com/u/shaderbytes)\
**Post date:** [December 28, 2023, 3:39pm UTC](https://forum.babylonjs.com/t/higher-quality-glb-mesh-renders/46761/4 "2023-12-28T15:39:16Z")

</div>

as @Evgeni_Popov mentioned, your issue is mainly lighting differences (HDR and related settings to HDR lighting )

Here I quickly dumped a phone model I have into the sand box and setup two or 3 materials and the scene , real quick as i have to leave for band practice , anyway cheers

( video is still processing HD , I really have to leave and cant wait so here is the link already )

[![](https://img.youtube.com/vi/JDED_7k65n8/hqdefault.jpg "Desktop 2023 12 28 17 32 18 05") ](https://www.youtube.com/watch?v=JDED_7k65n8)
