# Lighting/Shadows/Shaders in ThreeJS

**URL:** <https://discourse.threejs.org/t/lighting-shadows-shaders-in-threejs/9435>\
**Category:** Questions\
**Tags:** shadows, lighting, shaders\
**Created:** [September 4, 2019, 6:26pm UTC](https://discourse.threejs.org/t/lighting-shadows-shaders-in-threejs/9435 "2019-09-04T18:26:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Stallwood](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ben_stallwood/32/7027_2.png) [@Ben\_Stallwood](https://discourse.threejs.org/u/Ben_Stallwood)\
**Post date:** [September 4, 2019, 6:26pm UTC](https://discourse.threejs.org/t/lighting-shadows-shaders-in-threejs/9435/1 "2019-09-04T18:26:45Z")

</div>

**How can I make my scene look better?**

I am using GLTF models and I am trying to give off better lighting/shadows (shaders?) on my models. Tried a couple things to do with SAO but the SAO doesn’t seem to do anything to my models? Do I have to add my models to the SAO?

Quite new to Ambient Occlusion, Shaders etc in Three.js so any help would be great.

Every object just seems too blocky and hasn’t got expected shadows. Anti aliasing in also enabled but can’t seem to notice it!

If anyone could give me some steps, or point me in the right direction, to make my scene look nicer, it would be much appreciated!

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/3/38378b59904e5c14774edb71c8661db2cde111c3.jpeg)

---

<div class="post-metadata">

**Author:** ![marquizzo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/marquizzo/32/25192_2.png) [@marquizzo](https://discourse.threejs.org/u/marquizzo)\
**Post date:** [September 4, 2019, 6:33pm UTC](https://discourse.threejs.org/t/lighting-shadows-shaders-in-threejs/9435/2 "2019-09-04T18:33:09Z")

</div>

The aoMap requires a second set of UVs. Are you exporting your GLTF with 2 sets of UVs?

[https://threejs.org/docs/index.html#api/en/materials/MeshStandardMaterial.aoMap](https://threejs.org/docs/index.html#api/en/materials/MeshStandardMaterial.aoMap)

---

<div class="post-metadata">

**Author:** ![Ben\_Stallwood](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/ben_stallwood/32/7027_2.png) [@Ben\_Stallwood](https://discourse.threejs.org/u/Ben_Stallwood)\
**Post date:** [September 4, 2019, 6:38pm UTC](https://discourse.threejs.org/t/lighting-shadows-shaders-in-threejs/9435/3 "2019-09-04T18:38:09Z")

</div>

Could you expand please? What do you mean by UVs?

I got my assets from online.

---

<div class="post-metadata">

**Author:** ![marquizzo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/marquizzo/32/25192_2.png) [@marquizzo](https://discourse.threejs.org/u/marquizzo)\
**Post date:** [September 4, 2019, 7:03pm UTC](https://discourse.threejs.org/t/lighting-shadows-shaders-in-threejs/9435/4 "2019-09-04T19:03:26Z")

</div>

This is a good article explaining UVs: [https://www.pluralsight.com/blog/film-games/understanding-uvs-love-them-or-hate-them-theyre-essential-to-know](https://www.pluralsight.com/blog/film-games/understanding-uvs-love-them-or-hate-them-theyre-essential-to-know)
