1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-01 17:38:41 +00:00

Support drawing the skybox in front of the default sky

This commit is contained in:
MirceaKitsune 2025-04-23 01:28:04 +03:00
parent 6f17876e86
commit d4e0dfa5f6
8 changed files with 62 additions and 35 deletions

View file

@ -8789,6 +8789,9 @@ child will follow movement and rotation of that bone.
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.
* `textures_front`: Used by the `"skybox"` type. Enable to draw a skybox with an alpha channel in
front of the sun / moon / stars rather than behind them. The sky color will always be shown
behind the alpha channel (default: `false`)
* `clouds`: Boolean for whether clouds appear. (default: `true`)
* `sky_color`: A table used in `"regular"` and `"skybox"` types only. If used with the later,
the `textures` should have an alpha channel. Contains the following values (alpha is ignored):