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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user