From 142928e944db089cccce6c0ea32a89b32300b3d1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 2 Jul 2022 18:57:48 +0000 Subject: Allow to set maximum star opacity at daytime (#11663) --- doc/lua_api.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b5f58d7f2..994a30981 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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`) -- cgit v1.2.3