2024-04-20 01:16 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006159Spring engineGeneralpublic2019-03-13 00:53
ReporterFloris 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionno change required 
Product Version104.0 +git 
Target VersionFixed in Version104.0 +git 
Summary0006159: can read gl.GetSun("shadowDensity") but no option to adjust
Descriptioni would like the possibility to set this via lua like:
Spring.SetSunLighting({groundShadowDensity = value})

Also its unclear to me if shadow density is different for map/unit shadows
TagsNo tags attached.
Checked infolog.txt for ErrorsIrrelevant
Attached Files

-Relationships
+Relationships

-Notes

~0019824

Kloot (developer)

Spring.SetSunLighting({groundShadowDensity = value}) already works, listen for the SunChanged event when you call it.

> its unclear to me if shadow density is different for map/unit shadows

it is, use Spring.SetSunLighting({modelShadowDensity = value}) to set the model value.
+Notes

-Issue History
Date Modified Username Field Change
2019-03-12 21:05 Floris New Issue
2019-03-12 21:30 Kloot Note Added: 0019824
2019-03-13 00:53 Kloot Status new => resolved
2019-03-13 00:53 Kloot Resolution open => no change required
2019-03-13 00:53 Kloot Fixed in Version => 104.0 +git
+Issue History