]> git.lizzy.rs Git - minetest.git/blobdiff - doc/lua_api.txt
Lua API: Document shader dependencies of set_lighting() (#13079)
[minetest.git] / doc / lua_api.txt
index 8dfb991b7a909e8da9a8f61fa5930475faf848c2..a35adca6097007ac5e56190534837331c270a671 100644 (file)
@@ -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,