-
-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make compound clouds and 3D objects' lighting depend on the light lev…
…el (#5771) * Make compound clouds and 3D objects' lighting depend on the light level I.e. the current light level set by the day-night cycle * Fix day-night cycle existing in lightless patches * Fix a wrong comma in a comment * Remove an obsolete TODO * Fix a formula The patch's ambient light amount already updates with the day-night cycle and doesn't need to multiply by DayLightFraction as such * Improve light level handling * Complete an accidentally uploaded unfinished commit * Fix `UpdateAllPatchLightLevels` not to multiply by day light fraction * Add a minimal patch brightness (20%) * Update a function's name because it wasn't clear
- Loading branch information
Showing
2 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters