mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Make light attenuation fade optional
This also makes Force Per Pixel Lighting caption shorter to provide more space for the new button
This commit is contained in:
parent
0cb2b71301
commit
176dec45a7
13 changed files with 126 additions and 22 deletions
|
@ -191,6 +191,25 @@ torches and lanterns.
|
|||
|
||||
In Morrowind, this multiplier is non-existent, i.e. it is always 1.0.
|
||||
|
||||
classic falloff
|
||||
---------------
|
||||
|
||||
:Type: boolean
|
||||
:Range: True/False
|
||||
:Default: False
|
||||
|
||||
Use the traditional point light attenuation formula which lacks an early fade out.
|
||||
|
||||
A flaw of the traditional formula is that light influence never quite reaches zero.
|
||||
This is physically accurate, but because lights don't have infinite radius (see :ref:`light bounds multiplier`),
|
||||
this can cause lighting seams between objects that got the relevant point light assigned and objects that didn't.
|
||||
Early fade out helps diminish these seams at the cost of darkening the scene.
|
||||
|
||||
Morrowind uses the traditional formula, so you may want to enable this if you dislike the brightness differences.
|
||||
Alternatively, refer to :ref:`minimum interior brightness`.
|
||||
|
||||
'legacy' :ref:`lighting method` behaves as if this setting were enabled.
|
||||
|
||||
maximum light distance
|
||||
----------------------
|
||||
|
||||
|
@ -237,17 +256,19 @@ minimum interior brightness
|
|||
:Range: 0.0-1.0
|
||||
:Default: 0.08
|
||||
|
||||
Sets the minimum interior ambient brightness for interior cells when
|
||||
:ref:`lighting method` is not 'legacy'. A consequence of the new lighting system
|
||||
is that interiors will sometimes be darker since light sources now have sensible
|
||||
fall-offs. A couple solutions are to either add more lights or increase their
|
||||
Sets the minimum interior ambient brightness for interior cells.
|
||||
|
||||
A consequence of the new lighting system is that interiors will sometimes be darker
|
||||
since light sources now have sensible fall-offs.
|
||||
A couple solutions are to either add more lights or increase their
|
||||
radii to compensate, but these require content changes. For best results it is
|
||||
recommended to set this to 0.0 to retain the colors that level designers
|
||||
intended. If brighter interiors are wanted, however, this setting should be
|
||||
increased. Note, it is advised to keep this number small (< 0.1) to avoid the
|
||||
aforementioned changes in visuals.
|
||||
|
||||
This setting has no effect if :ref:`lighting method` is 'legacy'.
|
||||
This setting has no effect if :ref:`lighting method` is 'legacy'
|
||||
or if :ref:`classic falloff` is enabled.
|
||||
|
||||
antialias alpha test
|
||||
--------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue