1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-31 18:31:04 +00:00

Allow to set maximum star opacity at daytime (#11663)

This commit is contained in:
Wuzzy 2022-07-02 18:57:48 +00:00 committed by GitHub
parent b095dc4f2b
commit 142928e944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 4 deletions

View file

@ -7200,6 +7200,9 @@ object you are working with still exists.
* `star_parameters` is a table with the following optional fields:
* `visible`: Boolean for whether the stars are visible.
(default: `true`)
* `day_opacity`: Float for maximum opacity of stars at day.
No effect if `visible` is false.
(default: 0.0; maximum: 1.0; minimum: 0.0)
* `count`: Integer number to set the number of stars in
the skybox. Only applies to `"skybox"` and `"regular"` sky types.
(default: `1000`)