Skip to content

Commit 45a2ca0

Browse files
authoredApr 3, 2020
Add warning to set_sky() docs about unstable dawn and night sky colours (#9578)
Also clean up confusing double meaning usage of the word 'skybox'.
1 parent 3d6b55d commit 45a2ca0

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed
 

Diff for: ‎doc/lua_api.txt

+16-8
Original file line numberDiff line numberDiff line change
@@ -5991,19 +5991,27 @@ object you are working with still exists.
59915991
* `clouds`: Boolean for whether clouds appear. (default: `true`)
59925992
* `sky_color`: A table containing the following values, alpha is ignored:
59935993
* `day_sky`: ColorSpec, for the top half of the `"regular"`
5994-
skybox during the day. (default: `#8cbafa`)
5994+
sky during the day. (default: `#8cbafa`)
59955995
* `day_horizon`: ColorSpec, for the bottom half of the
5996-
`"regular"` skybox during the day. (default: `#9bc1f0`)
5996+
`"regular"` sky during the day. (default: `#9bc1f0`)
59975997
* `dawn_sky`: ColorSpec, for the top half of the `"regular"`
5998-
skybox during dawn/sunset. (default: `#b4bafa`)
5998+
sky during dawn/sunset. (default: `#b4bafa`)
5999+
The resulting sky color will be a darkened version of the ColorSpec.
6000+
Warning: The darkening of the ColorSpec is subject to change.
59996001
* `dawn_horizon`: ColorSpec, for the bottom half of the `"regular"`
6000-
skybox during dawn/sunset. (default: `#bac1f0`)
6002+
sky during dawn/sunset. (default: `#bac1f0`)
6003+
The resulting sky color will be a darkened version of the ColorSpec.
6004+
Warning: The darkening of the ColorSpec is subject to change.
60016005
* `night_sky`: ColorSpec, for the top half of the `"regular"`
6002-
skybox during the night. (default: `#006aff`)
6006+
sky during the night. (default: `#006aff`)
6007+
The resulting sky color will be a dark version of the ColorSpec.
6008+
Warning: The darkening of the ColorSpec is subject to change.
60036009
* `night_horizon`: ColorSpec, for the bottom half of the `"regular"`
6004-
skybox during the night. (default: `#4090ff`)
6010+
sky during the night. (default: `#4090ff`)
6011+
The resulting sky color will be a dark version of the ColorSpec.
6012+
Warning: The darkening of the ColorSpec is subject to change.
60056013
* `indoors`: ColorSpec, for when you're either indoors or
6006-
underground. Only applies to the `"regular"` skybox.
6014+
underground. Only applies to the `"regular"` sky.
60076015
(default: `#646464`)
60086016
* `fog_sun_tint`: ColorSpec, changes the fog tinting for the sun
60096017
at sunrise and sunset.
@@ -6047,7 +6055,7 @@ object you are working with still exists.
60476055
* `visible`: Boolean for whether the stars are visible.
60486056
(default: `true`)
60496057
* `count`: Integer number to set the number of stars in
6050-
the skybox. Only applies to `"skybox"` and `"regular"` skyboxes.
6058+
the skybox. Only applies to `"skybox"` and `"regular"` sky types.
60516059
(default: `1000`)
60526060
* `star_color`: ColorSpec, sets the colors of the stars,
60536061
alpha channel is used to set overall star brightness.

0 commit comments

Comments
 (0)
Please sign in to comment.