安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题









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.