Fixed night layer.

This commit is contained in:
Jonathas Costa
2018-03-13 15:15:19 -04:00
parent c353e75135
commit 880b39b821
2 changed files with 2 additions and 6 deletions
+1
View File
@@ -72,6 +72,7 @@ asset.onInitialize(function ()
"Earth", "Mars", "Moon"
})
openspace.setPropertyValue("Scene.Earth.RenderableGlobe.PerformShading", false)
openspace.addVirtualProperty(
"BoolProperty",
@@ -144,12 +144,7 @@ local Earth = {
{
Name = "Earth at Night 2012",
FilePath = mapServiceConfigsPath .. "/GIBS/night/VIIRS_CityLights_2012.wms",
Enabled = true,
Settings = {
Opacity = 1.0,
Gamma = 1.5,
Multiplier = 15.0
},
Enabled = true,
Fallback = {
Name = "Earth Night",
FilePath = texturesPath .. "/earth_night.jpg",