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

Transparency setting defaulting to previous behavior

This commit is contained in:
MirceaKitsune 2025-04-23 02:15:08 +03:00
parent d4e0dfa5f6
commit ab3073e425
8 changed files with 40 additions and 29 deletions

View file

@ -8789,9 +8789,10 @@ 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`)
* `transparency`: Used by the `"skybox"` type. The type of transparency to use. (default: `"solid"`)
* `"solid"`: For textures without an alpha channel, `sky_color` is not used.
* `"transparent_back"`: Show stars / sun / moon over the alpha channel, `sky_color` is used.
* `"transparent_front"`: Show stars / sun / moon behind the alpha channel, `sky_color` is used.
* `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):