Skip to content

Commit

Permalink
Better doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfence committed Jan 22, 2024
1 parent dcabfd2 commit 1de2312
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/lua_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8072,6 +8072,8 @@ child will follow movement and rotation of that bone.
* This value has no effect on clients who have the "Volumetric Lighting" or "Bloom" shaders disabled.
* `lightIntensity` is a table that controls calculation of night and day sun light color.
`sun_color = colorOffset + colorRatioCoef*daynight_ratio` where `daynight_ratio` is not linear to day time
Result color lesser or equal to 0.0 means no color in light.
Result color greater or equal to 1.0 means full color in light.
* `colorOffset` is a table that controls red, green and blue color offsets.
* `r` (default: `-0.04`)
* `g` (default: `-0.04`)
Expand Down

0 comments on commit 1de2312

Please sign in to comment.