mirror of https://github.com/minetest/minetest.git
Fix `set_lighting` indentations and number range
This commit is contained in:
parent
6ec62be694
commit
c5f261102d
|
@ -8263,10 +8263,11 @@ child will follow movement and rotation of that bone.
|
|||
* Passing no arguments resets lighting to its default values.
|
||||
* `light_definition` is a table with the following optional fields:
|
||||
* `saturation` sets the saturation (vividness; default: `1.0`).
|
||||
values > 1 increase the saturation
|
||||
values in [0,1) decrease the saturation
|
||||
* Values > 1 increase the saturation
|
||||
* Values in [0, 1] decrease the saturation
|
||||
* `shadows` is a table that controls ambient shadows
|
||||
* `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness)
|
||||
* `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.
|
||||
* `exposure` is a table that controls automatic exposure.
|
||||
The basic exposure factor equation is `e = 2^exposure_correction / clamp(luminance, 2^luminance_min, 2^luminance_max)`
|
||||
|
|
Loading…
Reference in New Issue