]> git.lizzy.rs Git - minetest.git/commitdiff
Document moon orientation relative to sun
authorLars Mueller <appgurulars@gmx.de>
Sat, 8 Jan 2022 10:45:05 +0000 (11:45 +0100)
committerHugues Ross <hugues.ross@gmail.com>
Mon, 31 Jan 2022 12:36:39 +0000 (07:36 -0500)
doc/lua_api.txt

index faaed55e14c502e14b6d7e94246073196c14498e..e9140a972bc27b37b20deda3b6d95c4b2c22fff2 100644 (file)
@@ -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`)