From 80812b86d6097ae67ec61f99357497cbaaf43c80 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 8 Jan 2022 11:45:05 +0100 Subject: [PATCH] Document moon orientation relative to sun --- doc/lua_api.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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`)