aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Mueller <appgurulars@gmx.de>2022-01-08 11:45:05 +0100
committerHugues Ross <hugues.ross@gmail.com>2022-01-31 07:36:39 -0500
commit80812b86d6097ae67ec61f99357497cbaaf43c80 (patch)
treea28b886b797aef1e6eb2b9802686255bb42662ca /doc
parent128f6359e936bcdc5e26409ddd73438bce9c6dd6 (diff)
downloadminetest-80812b86d6097ae67ec61f99357497cbaaf43c80.tar.gz
minetest-80812b86d6097ae67ec61f99357497cbaaf43c80.tar.bz2
minetest-80812b86d6097ae67ec61f99357497cbaaf43c80.zip
Document moon orientation relative to sun
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index faaed55e1..e9140a972 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -6877,7 +6877,9 @@ 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", if it exists)
+ will re-enable the mesh moon. (default: `"moon.png"`, if it exists)
+ Note: Relative to the sun, the moon texture is rotated by 180°.
+ You can use the `^[transformR180` texture modifier to achieve the same orientation.
* `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`)