Skip to content

Commit

Permalink
Document moon orientation relative to sun
Browse files Browse the repository at this point in the history
  • Loading branch information
appgurueu authored and Hugues Ross committed Jan 31, 2022
1 parent 128f635 commit 80812b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/lua_api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 80812b8

Please sign in to comment.