Better document sky_color scope (#11892)

This commit is contained in:
Zughy 2022-01-01 22:46:00 +01:00 committed by GitHub
parent 29d2b2ccd0
commit 8910c7f8ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6803,29 +6803,29 @@ object you are working with still exists.
* `textures`: A table containing up to six textures in the following * `textures`: A table containing up to six textures in the following
order: Y+ (top), Y- (bottom), X- (west), X+ (east), Z+ (north), Z- (south). order: Y+ (top), Y- (bottom), X- (west), X+ (east), Z+ (north), Z- (south).
* `clouds`: Boolean for whether clouds appear. (default: `true`) * `clouds`: Boolean for whether clouds appear. (default: `true`)
* `sky_color`: A table containing the following values, alpha is ignored: * `sky_color`: A table used in `"regular"` type only, containing the
* `day_sky`: ColorSpec, for the top half of the `"regular"` following values (alpha is ignored):
sky during the day. (default: `#61b5f5`) * `day_sky`: ColorSpec, for the top half of the sky during the day.
* `day_horizon`: ColorSpec, for the bottom half of the (default: `#61b5f5`)
`"regular"` sky during the day. (default: `#90d3f6`) * `day_horizon`: ColorSpec, for the bottom half of the sky during the day.
* `dawn_sky`: ColorSpec, for the top half of the `"regular"` (default: `#90d3f6`)
sky during dawn/sunset. (default: `#b4bafa`) * `dawn_sky`: ColorSpec, for the top half of the sky during dawn/sunset.
(default: `#b4bafa`)
The resulting sky color will be a darkened version of the ColorSpec. The resulting sky color will be a darkened version of the ColorSpec.
Warning: The darkening of the ColorSpec is subject to change. Warning: The darkening of the ColorSpec is subject to change.
* `dawn_horizon`: ColorSpec, for the bottom half of the `"regular"` * `dawn_horizon`: ColorSpec, for the bottom half of the sky during dawn/sunset.
sky during dawn/sunset. (default: `#bac1f0`) (default: `#bac1f0`)
The resulting sky color will be a darkened version of the ColorSpec. The resulting sky color will be a darkened version of the ColorSpec.
Warning: The darkening of the ColorSpec is subject to change. Warning: The darkening of the ColorSpec is subject to change.
* `night_sky`: ColorSpec, for the top half of the `"regular"` * `night_sky`: ColorSpec, for the top half of the sky during the night.
sky during the night. (default: `#006bff`) (default: `#006bff`)
The resulting sky color will be a dark version of the ColorSpec. The resulting sky color will be a dark version of the ColorSpec.
Warning: The darkening of the ColorSpec is subject to change. Warning: The darkening of the ColorSpec is subject to change.
* `night_horizon`: ColorSpec, for the bottom half of the `"regular"` * `night_horizon`: ColorSpec, for the bottom half of the sky during the night.
sky during the night. (default: `#4090ff`) (default: `#4090ff`)
The resulting sky color will be a dark version of the ColorSpec. The resulting sky color will be a dark version of the ColorSpec.
Warning: The darkening of the ColorSpec is subject to change. Warning: The darkening of the ColorSpec is subject to change.
* `indoors`: ColorSpec, for when you're either indoors or * `indoors`: ColorSpec, for when you're either indoors or underground.
underground. Only applies to the `"regular"` sky.
(default: `#646464`) (default: `#646464`)
* `fog_sun_tint`: ColorSpec, changes the fog tinting for the sun * `fog_sun_tint`: ColorSpec, changes the fog tinting for the sun
at sunrise and sunset. at sunrise and sunset.