diff options
author | sfan5 <sfan5@live.de> | 2022-01-22 13:37:26 +0100 |
---|---|---|
committer | Hugues Ross <hugues.ross@gmail.com> | 2022-01-22 11:18:34 -0500 |
commit | f8cef52ea07de6a6ccaa6f9a853a8e5ccaaff4ce (patch) | |
tree | 18c6fd04a6e999a82fdc60c94097df6cb8df6d37 /doc | |
parent | 37d80784ddfc0ff07baee214570c80dc5dd92ca7 (diff) | |
download | minetest-f8cef52ea07de6a6ccaa6f9a853a8e5ccaaff4ce.tar.gz minetest-f8cef52ea07de6a6ccaa6f9a853a8e5ccaaff4ce.tar.bz2 minetest-f8cef52ea07de6a6ccaa6f9a853a8e5ccaaff4ce.zip |
Fix consistency of sky sun/moon texture behaviour
Also cleans up related code somewhat.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 00c29f791..2331736c6 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -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`) |