1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-23 01:35:40 +01:00

Option to make sky stars deterministic (#16529)

The star constellations are now based on a seed passed in StarParams.
This commit is contained in:
fetsorn
2025-11-22 11:47:15 +03:00
committed by GitHub
parent b4aa73df70
commit d959692967
8 changed files with 22 additions and 3 deletions

View File

@@ -9039,6 +9039,7 @@ child will follow movement and rotation of that bone.
alpha channel is used to set overall star brightness.
(default: `#ebebff69`)
* `scale`: Float controlling the overall size of the stars (default: `1`)
* `star_seed`: Integer number which decides how to generate the sky stars. If set to zero, client picks a random number. (default: `0`)
* `get_stars()`: returns a table with the current stars parameters as in
`set_stars`.
* `set_clouds(cloud_parameters)`: set cloud parameters