|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006438||Spring engine||Lua||public||2021-08-04 00:44||2021-08-04 00:45|
|Target Version||Fixed in Version|
|Summary||0006438: Spring.SetSunDirection() has no visible effect|
|Description||Calling Spring.SetSunDirection(dirX, dirY, dirZ) has no visible effect, terrain lighting doesn't change, terrain is still illuminated in the same way as without calling it.|
Although the call itself works, in the sense that subsequent calls to gl.GetSun("pos") return the new direction that was passed to Spring.SetSunDirection().
I am calling it in unsynced Gadget in DrawGenesis().
Tried calling it once, tried every frame, still no visible effect.
|Steps To Reproduce||Call Spring.SetSunDirection(dirX, dirY, dirZ) with direction different than in map info, see if terrain illumination changes.|
|Additional Information||Using Spring 104.0.1-1544-ge1f249f (the version used by ZK)|
|Tags||No tags attached.|
|Checked infolog.txt for Errors||Yes|
|2021-08-04 00:44||Rafal99||New Issue|