mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
* Fix uninitialized shadow tint This resulted in shadows having a different, random color each time I started a game * Fix formatting mistakes from the same PR
This commit is contained in:
parent
65ec371b78
commit
fbb0e82679
2 changed files with 3 additions and 4 deletions
|
@ -56,5 +56,5 @@ struct Lighting
|
|||
float shadow_intensity {0.0f};
|
||||
float saturation {1.0f};
|
||||
float volumetric_light_strength {0.0f};
|
||||
video::SColor shadow_tint;
|
||||
video::SColor shadow_tint {255, 0, 0, 0};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue