mirror of
https://github.com/minetest/minetest.git
synced 2025-07-06 01:40:21 +02:00
Fix set_lighting
indentations and number range
This commit is contained in:
@ -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)`
|
||||
|
Reference in New Issue
Block a user