diff --git a/CHANGES.md b/CHANGES.md index f6e8ec6a4fe7..67216eb2e5c1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ Change Log * Added `cartographicLimitRectangle` to `Globe`. Use this to limit terrain and imagery to a specific `Rectangle` area. [#6987](https://github.com/AnalyticalGraphicsInc/cesium/pull/6987) * Added `OpenCageGeocoderService`, which provides geocoding via [OpenCage](https://opencagedata.com/). [#7015](https://github.com/AnalyticalGraphicsInc/cesium/pull/7015) * Added ground atmosphere lighting in 3D. This can be toggled with `Globe.showGroundAtmosphere`. [6877](https://github.com/AnalyticalGraphicsInc/cesium/pull/6877) + * Added `Globe.nightFadeOutDistance` and `Globe.nightFadeInDistance` to configure when ground atmosphere night lighting fades in and out. [6877](https://github.com/AnalyticalGraphicsInc/cesium/pull/6877) ##### Fixes :wrench: * Fixed picking for overlapping translucent primitives. [#7039](https://github.com/AnalyticalGraphicsInc/cesium/pull/7039) diff --git a/Source/Scene/Globe.js b/Source/Scene/Globe.js index 88b52ebe0126..046831302706 100644 --- a/Source/Scene/Globe.js +++ b/Source/Scene/Globe.js @@ -163,7 +163,7 @@ define([ /** * The distance where the darkness of night from the ground atmosphere fades out to a lit ground atmosphere. - * This only takes effect when showGroundAtmosphere is true. + * This only takes effect when showGroundAtmosphere and enableLighting are true. * * @type {Number} * @default 10000000.0 @@ -172,7 +172,7 @@ define([ /** * The distance where the darkness of night from the ground atmosphere fades in to an unlit ground atmosphere. - * This only takes effect when showGroundAtmosphere is true. + * This only takes effect when showGroundAtmosphere and enableLighting are true. * * @type {Number} * @default 50000000.0