Document moon orientation relative to sun

master
Lars Mueller 2022-01-08 11:45:05 +01:00 committed by Hugues Ross
parent 128f6359e9
commit 80812b86d6
1 changed files with 3 additions and 1 deletions

View 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`)