2025-07-18 03:08 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005198Spring engineBuildbotpublic2016-04-04 13:49
ReporterBeherith 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version101.0+git 
Target VersionFixed in Version 
Summary0005198: Spring.SetSunLighting has no effect on map shading.
DescriptionIve been trying to setup ingame map lighting adjustment, but it seems that calling Spring.SetSunLighting has no effect on actual map shading.

Running Spring.SetSunLighting({groundAmbientColor = {1, 0.1, 1}, groundDiffuseColor = {1, 0.1, 1} }), and gl.GetSun("ambient") returns the new values, but the map shading is not adjusted.
Steps To ReproduceOpen up BAR, for ease of testing (has chonsole so you can /exec commands)

Enter /exec Spring.SetSunLighting({groundAmbientColor = {1, 0.1, 1}, groundDiffuseColor = {1, 0.1, 1} })

/exec Spring.Echo(gl.GetSun("ambient"))

/reloadshaders has no effect
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0016157

Anonymous (viewer)

Fix d02a12fd8be1649048fbd100db44c6a81c8a60cf committed to develop branch: fix 0005198, repo: spring changeset id: 6918
+Notes

-Issue History
Date Modified Username Field Change
2016-04-04 13:08 Beherith New Issue
2016-04-04 13:44 Kloot Assigned To => Kloot
2016-04-04 13:44 Kloot Status new => assigned
2016-04-04 13:49 Changeset attached => spring develop d02a12fd
2016-04-04 13:49 Anonymous Note Added: 0016157
2016-04-04 13:49 Anonymous Status assigned => resolved
2016-04-04 13:49 Anonymous Resolution open => fixed
+Issue History