Fixed small bug in shadows.

This commit is contained in:
Jonathas Costa
2016-06-06 18:23:06 -04:00
parent 2f4f50b796
commit de6446282f
5 changed files with 20 additions and 21 deletions
+5 -5
View File
@@ -19,16 +19,16 @@ function preInitialization()
-- 6:20 -> 23:20 day before in UTC
]]--
--openspace.time.setTime("2016-03-08T22:45:00")
openspace.time.setTime("2016-03-08T22:45:00")
-- Total Lunar Eclipse Jan 31, 2018 at 10:51:13 UTC
-- Regions seeing, at least, some parts of the eclipse: North/East Europe,
-- Asia, Australia, North/East Africa, North America, North/East South America,
-- Pacific, Atlantic, Indian Ocean, Arctic, Antarctica.
openspace.time.setTime("2018-01-31T10:30:00")
--openspace.time.setTime("2018-01-31T10:30:00")
openspace.time.setDeltaTime(200.0)
--openspace.time.setDeltaTime(200.0)
dofile(openspace.absPath('${SCRIPTS}/bind_keys.lua'))
end
@@ -56,8 +56,8 @@ return {
ScenePath = ".",
CommonFolder = "common",
Camera = {
--Focus = "Earth",
Focus = "Moon",
Focus = "Earth",
--Focus = "Moon",
Position = {1, 0, 0, 5},
},
Modules = {
+2
View File
@@ -30,11 +30,13 @@ return {
Shadow_Group = {
Source1 = {
Name = "Sun",
-- All radius in meters
Radius = {696.3, 6}
},
--Source2 = { Name = "Monolith", Radius = {0.01, 6} },
Caster1 = {
Name = "Moon",
-- All radius in meters
Radius = {1.737, 6}
},
--Caster2 = { Name = "Independency Day Ship", Radius = {0.0, 0.0} }