Skip to content

Commit 8910c7f

Browse files
authoredJan 1, 2022
Better document sky_color scope (#11892)
1 parent 29d2b2c commit 8910c7f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed
 

Diff for: ‎doc/lua_api.txt

+15-15
Original file line numberDiff line numberDiff line change
@@ -6803,29 +6803,29 @@ object you are working with still exists.
68036803
* `textures`: A table containing up to six textures in the following
68046804
order: Y+ (top), Y- (bottom), X- (west), X+ (east), Z+ (north), Z- (south).
68056805
* `clouds`: Boolean for whether clouds appear. (default: `true`)
6806-
* `sky_color`: A table containing the following values, alpha is ignored:
6807-
* `day_sky`: ColorSpec, for the top half of the `"regular"`
6808-
sky during the day. (default: `#61b5f5`)
6809-
* `day_horizon`: ColorSpec, for the bottom half of the
6810-
`"regular"` sky during the day. (default: `#90d3f6`)
6811-
* `dawn_sky`: ColorSpec, for the top half of the `"regular"`
6812-
sky during dawn/sunset. (default: `#b4bafa`)
6806+
* `sky_color`: A table used in `"regular"` type only, containing the
6807+
following values (alpha is ignored):
6808+
* `day_sky`: ColorSpec, for the top half of the sky during the day.
6809+
(default: `#61b5f5`)
6810+
* `day_horizon`: ColorSpec, for the bottom half of the sky during the day.
6811+
(default: `#90d3f6`)
6812+
* `dawn_sky`: ColorSpec, for the top half of the sky during dawn/sunset.
6813+
(default: `#b4bafa`)
68136814
The resulting sky color will be a darkened version of the ColorSpec.
68146815
Warning: The darkening of the ColorSpec is subject to change.
6815-
* `dawn_horizon`: ColorSpec, for the bottom half of the `"regular"`
6816-
sky during dawn/sunset. (default: `#bac1f0`)
6816+
* `dawn_horizon`: ColorSpec, for the bottom half of the sky during dawn/sunset.
6817+
(default: `#bac1f0`)
68176818
The resulting sky color will be a darkened version of the ColorSpec.
68186819
Warning: The darkening of the ColorSpec is subject to change.
6819-
* `night_sky`: ColorSpec, for the top half of the `"regular"`
6820-
sky during the night. (default: `#006bff`)
6820+
* `night_sky`: ColorSpec, for the top half of the sky during the night.
6821+
(default: `#006bff`)
68216822
The resulting sky color will be a dark version of the ColorSpec.
68226823
Warning: The darkening of the ColorSpec is subject to change.
6823-
* `night_horizon`: ColorSpec, for the bottom half of the `"regular"`
6824-
sky during the night. (default: `#4090ff`)
6824+
* `night_horizon`: ColorSpec, for the bottom half of the sky during the night.
6825+
(default: `#4090ff`)
68256826
The resulting sky color will be a dark version of the ColorSpec.
68266827
Warning: The darkening of the ColorSpec is subject to change.
6827-
* `indoors`: ColorSpec, for when you're either indoors or
6828-
underground. Only applies to the `"regular"` sky.
6828+
* `indoors`: ColorSpec, for when you're either indoors or underground.
68296829
(default: `#646464`)
68306830
* `fog_sun_tint`: ColorSpec, changes the fog tinting for the sun
68316831
at sunrise and sunset.

0 commit comments

Comments
 (0)