Fix `set_lighting` indentations and number range

This commit is contained in:
Bituvo 2024-04-21 10:09:32 -04:00
parent 6ec62be694
commit c5f261102d
1 changed files with 13 additions and 12 deletions

View File

@ -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)`