mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Sky: transmit body_orbit_tilt to client. (#13193)
This obsoletes the current client-side setting entirely. The server can transmit the tilt to the client directly and will send 0.0f as default value. Co-authored-by: x2048 <codeforsmile@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
6e1c70e02b
commit
2083252c05
12 changed files with 30 additions and 19 deletions
|
@ -7316,6 +7316,8 @@ child will follow movement and rotation of that bone.
|
|||
* `sky_parameters` is a table with the following optional fields:
|
||||
* `base_color`: ColorSpec, changes fog in "skybox" and "plain".
|
||||
(default: `#ffffff`)
|
||||
* `body_orbit_tilt`: Float, angle of sun/moon orbit in degrees, relative to Y axis.
|
||||
Valid range [-60.0,60.0] (default: 0.0)
|
||||
* `type`: Available types:
|
||||
* `"regular"`: Uses 0 textures, `base_color` ignored
|
||||
* `"skybox"`: Uses 6 textures, `base_color` used as fog.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue