2023-09-27 23:02 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006438Spring engineLuapublic2021-08-04 00:45
Assigned To 
Product Version 
Target VersionFixed in Version 
Summary0006438: Spring.SetSunDirection() has no visible effect
DescriptionCalling 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 ReproduceCall Spring.SetSunDirection(dirX, dirY, dirZ) with direction different than in map info, see if terrain illumination changes.
Additional InformationUsing Spring 104.0.1-1544-ge1f249f (the version used by ZK)
TagsNo tags attached.
Checked infolog.txt for ErrorsYes
Attached Files


There are no notes attached to this issue.

-Issue History
Date Modified Username Field Change
2021-08-04 00:44 Rafal99 New Issue
+Issue History