Fix and clarify skybox texture order documentation (#14680)

This commit is contained in:
Alex 2024-06-03 03:40:34 -07:00 committed by GitHub
parent 445e485fc5
commit 75f3a2183f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8232,7 +8232,11 @@ child will follow movement and rotation of that bone.
* `"plain"`: Uses 0 textures, `base_color` used as both fog and sky. * `"plain"`: Uses 0 textures, `base_color` used as both fog and sky.
(default: `"regular"`) (default: `"regular"`)
* `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+ (east), X- (west), Z- (south), Z+ (north).
The top and bottom textures are oriented in-line with the east (X+) face (the top edge of the
bottom texture and the bottom edge of the top texture touch the east face).
Some top and bottom textures expect to be aligned with the north face and will need to be rotated
by -90 and 90 degrees, respectively, to fit the eastward orientation.
* `clouds`: Boolean for whether clouds appear. (default: `true`) * `clouds`: Boolean for whether clouds appear. (default: `true`)
* `sky_color`: A table used in `"regular"` type only, containing the * `sky_color`: A table used in `"regular"` type only, containing the
following values (alpha is ignored): following values (alpha is ignored):