how to add custom sky box
-
- Member
- Posts: 16
- Joined: Thu Nov 12, 2020 16:47
- In-game: Leuden
how to add custom sky box
How would I add my own custom skybox
- Skamiz Kazzarch
- Member
- Posts: 619
- Joined: Fri Mar 09, 2018 20:34
- GitHub: Skamiz
- In-game: Skamiz
- Location: la lojbaugag.
Re: how to add custom sky box
This function:
You can learn more here: https://github.com/minetest/minetest/bl ... .txt#L7134
You call the function on a player object to change the specific players appearance of their sky.
Code: Select all
* `set_sky(sky_parameters)`
* Passing no arguments resets the sky to its default values.
* `sky_parameters` is a table with the following optional fields:
* `base_color`: ColorSpec, changes fog in "skybox" and "plain".
(default: `#ffffff`)
* `type`: Available types:
* `"regular"`: Uses 0 textures, `base_color` ignored
* `"skybox"`: Uses 6 textures, `base_color` used as fog.
* `"plain"`: Uses 0 textures, `base_color` used as both fog and sky.
(default: `"regular"`)
* `textures`: A table containing up to six textures in the following
order: Y+ (top), Y- (bottom), X- (west), X+ (east), Z+ (north), Z- (south).
* `clouds`: Boolean for whether clouds appear. (default: `true`)
* `sky_color`: A table used in `"regular"` type only, containing the
following values (alpha is ignored): (...)
You call the function on a player object to change the specific players appearance of their sky.
- Blockhead
- Member
- Posts: 1697
- Joined: Wed Jul 17, 2019 10:14
- GitHub: Montandalar
- IRC: Blockhead256
- In-game: Blockhead Blockhead256
- Location: Land Down Under
- Contact:
Re: how to add custom sky box
You should really verify if what your AI chatbot says is true before just posting it verbatim.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂
-
- Member
- Posts: 128
- Joined: Sun Aug 05, 2018 12:37
- In-game: Maverick2797
- Location: Poking about here and there...
Re: how to add custom sky box
The Pandorabox server has a great mod that lets you register an custom skybox via api: https://github.com/pandorabox-io/skybox
The number you have called is not available during a solar eclipse. This message will self destruct in ten seconds in protest... [BEEP]
Who is online
Users browsing this forum: No registered users and 29 guests