| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0006159 | Spring engine | General | public | 2019-03-12 21:05 | 2019-03-13 00:53 | ||||
| Reporter | Floris | ||||||||
| Assigned To | |||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
| Status | resolved | Resolution | no change required | ||||||
| Product Version | 104.0 +git | ||||||||
| Target Version | Fixed in Version | 104.0 +git | |||||||
| Summary | 0006159: can read gl.GetSun("shadowDensity") but no option to adjust | ||||||||
| Description | i 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 | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | Irrelevant | ||||||||
| Attached Files |
| ||||||||
Notes |
|
|
Kloot (developer) 2019-03-12 21:30 |
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. |


