# enableLighting on globe is too dark

**URL:** <https://community.cesium.com/t/enablelighting-on-globe-is-too-dark/1856>\
**Category:** CesiumJS\
**Created:** [January 10, 2015, 6:47pm UTC](https://community.cesium.com/t/enablelighting-on-globe-is-too-dark/1856 "2015-01-10T18:47:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adambedrossian](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@adambedrossian](https://community.cesium.com/u/adambedrossian)\
**Post date:** [January 10, 2015, 6:47pm UTC](https://community.cesium.com/t/enablelighting-on-globe-is-too-dark/1856/1 "2015-01-10T18:47:48Z")

</div>

With enableLighting set to true on the globe, I've received some feedback stating that the night/dark side of the globe is too dark. The darkness causes some difficulty in making out other items, objects, terrain on the globe.

What's the best way to diffuse or lighten the dark side of the globe while enableLighting is on?

I'm on version 1.2.

Thanks.

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [January 11, 2015, 3:18pm UTC](https://community.cesium.com/t/enablelighting-on-globe-is-too-dark/1856/2 "2015-01-11T15:18:43Z")

</div>

I don’t believe there is a way to tweak this yet. In the meantime, you could either

- See if [lightingFadeOutDistance](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Globe.js#L253) or [lightingFadeInDistance](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/Globe.js#L262) would work for you, or
- Make a small tweak to the lighting shader similar to [#1680](https://github.com/AnalyticalGraphicsInc/cesium/pull/1680/files)  
Patrick

---

<div class="post-metadata">

**Author:** ![Ming-Che\_Liu](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@Ming-Che\_Liu](https://community.cesium.com/u/Ming-Che_Liu)\
**Post date:** [August 25, 2016, 9:33am UTC](https://community.cesium.com/t/enablelighting-on-globe-is-too-dark/1856/3 "2016-08-25T09:33:59Z")

</div>

Hello,

Excuse me, which file should I change the lighting shader similar to [#1680](https://github.com/AnalyticalGraphicsInc/cesium/pull/1680/files)? Thanks a lot~

Patrick Cozzi於 2015年1月11日星期日 UTC+8下午11時18分43秒寫道：

---

<div class="post-metadata">

**Author:** ![patrick](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/patrick/32/2045_2.png) [@patrick](https://community.cesium.com/u/patrick)\
**Post date:** [August 29, 2016, 12:24pm UTC](https://community.cesium.com/t/enablelighting-on-globe-is-too-dark/1856/4 "2016-08-29T12:24:21Z")

</div>

It should be here: [https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/GlobeFS.glsl#L165-L178](https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Shaders/GlobeFS.glsl#L165-L178)

Patrick
