mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Fix consistency of sky sun/moon texture behaviour
Also cleans up related code somewhat.
This commit is contained in:
@@ -6856,7 +6856,7 @@ object you are working with still exists.
|
||||
* `visible`: Boolean for whether the sun is visible.
|
||||
(default: `true`)
|
||||
* `texture`: A regular texture for the sun. Setting to `""`
|
||||
will re-enable the mesh sun. (default: `"sun.png"`)
|
||||
will re-enable the mesh sun. (default: "sun.png", if it exists)
|
||||
* `tonemap`: A 512x1 texture containing the tonemap for the sun
|
||||
(default: `"sun_tonemap.png"`)
|
||||
* `sunrise`: A regular texture for the sunrise texture.
|
||||
@@ -6872,7 +6872,7 @@ object you are working with still exists.
|
||||
* `visible`: Boolean for whether the moon is visible.
|
||||
(default: `true`)
|
||||
* `texture`: A regular texture for the moon. Setting to `""`
|
||||
will re-enable the mesh moon. (default: `"moon.png"`)
|
||||
will re-enable the mesh moon. (default: "moon.png", if it exists)
|
||||
* `tonemap`: A 512x1 texture containing the tonemap for the moon
|
||||
(default: `"moon_tonemap.png"`)
|
||||
* `scale`: Float controlling the overall size of the moon (default: `1`)
|
||||
|
Reference in New Issue
Block a user