mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Return shadow_sky_body_orbit_tilt setting
Used as a default value when the game does not change the value via API (e.g. legacy server)
This commit is contained in:
parent
9af587c54e
commit
f3b198e490
8 changed files with 28 additions and 7 deletions
|
@ -7416,8 +7416,10 @@ 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)
|
||||
* `body_orbit_tilt`: Float, rotation angle of sun/moon orbit in degrees.
|
||||
By default, orbit is controlled by a client-side setting, and this field is not set.
|
||||
After a value is assigned, it can only be changed to another float value.
|
||||
Valid range [-60.0,60.0] (default: not set)
|
||||
* `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