diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2022-12-26 21:59:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-26 21:59:55 +0100 |
commit | 03e710160f5c573b74097173b8202f209e5106ad (patch) | |
tree | 287b156f94ff517913fec0af278629adb5fb34cc /doc/lua_api.txt | |
parent | 1e7804aaf66e2c2a81f81267923621dea17cb274 (diff) | |
download | minetest-03e710160f5c573b74097173b8202f209e5106ad.tar.xz |
Lua API: Document shader dependencies of set_lighting() (#13079)
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 8dfb991b7..a35adca60 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -7468,8 +7468,10 @@ child will follow movement and rotation of that bone. * `saturation` sets the saturation (vividness). values > 1 increase the saturation values in [0,1) decrease the saturation + * This value has no effect on clients who have the "Tone Mapping" shader disabled. * `shadows` is a table that controls ambient shadows * `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness) + * This value has no effect on clients who have the "Dynamic Shadows" shader disabled. * `get_lighting()`: returns the current state of lighting for the player. * Result is a table with the same fields as `light_definition` in `set_lighting`. * `respawn()`: Respawns the player using the same mechanism as the death screen, |