Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Unfortunately, for a 'sunset' skybox image, you have to lower the sun's position, which stretches the shadows out, and they don't like being stretched out.
The skybox is really just that, a static box with 6 HDR images seamlessly* stitched together to give the illusion of a sky, ... with a sun (static light source), and a little ambient (fog) light thrown in.
You can change the sun's (light source) position to almost anywhere you want using math to get the right numbers. You can change source's intensity. You can change the ambient light color, or 'fog' to almost any color too, ... that's about all this mod can change; skybox, light direction and intensity, and the ambient or fog color.
* Ha!, close enough.
The game's engine does not look for additional skyboxes nor does it have any mechanism to move or turn on/off the light direction during the game.
"Unless the developers rewrite the game engine code for a Day-Night skybox, it can never, ever be done by creating or modifying .lua and .blob files."
The main problem or obstacle is that the light emitter for the Sun (or Moon) is not animated, it has no code for it to change direction during gameplay, therefore it just can not be done based on the current game code:
runFn = function (settings)
game.config.environment.light.direction = { math.cos(math.rad(60.0)),
math.sin(math.rad(60.0)), math.tan(math.rad(30.0)) }
game.config.environment.light.refBrightness = 4.0
game.config.environment.fog.color = { 1.05, 0.65, 0.25 }
As you can see, there is nothing there for animation, just the light direction, brightness, and fog color.