mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 04:39:42 +00:00
Add missing documentation for shadow normal offset distance setting.
This commit is contained in:
parent
acbc885ae6
commit
b5c92fbb0e
1 changed files with 11 additions and 0 deletions
|
@ -163,6 +163,17 @@ Used as the units parameter for the polygon offset used for shadow map rendering
|
|||
Higher values reduce shadow flicker, but risk increasing Peter Panning.
|
||||
See `the OpenGL documentation for glPolygonOffset <https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glPolygonOffset.xhtml>`_ for details.
|
||||
|
||||
normal offset distance
|
||||
----------------------
|
||||
|
||||
:Type: float
|
||||
:Range: Theoretically the whole range of 32-bit floating point, but values between 0 and 2 are most sensible.
|
||||
:Default: 1.0
|
||||
|
||||
How far along the surface normal to project shadow coordinates.
|
||||
Higher values significantly reduce shadow flicker, usually with a lower increase of Peter Panning than the Polygon Offset settings.
|
||||
This value is in in-game units, so 1.0 is roughly 1.4 cm.
|
||||
|
||||
use front face culling
|
||||
----------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue