@ -163,6 +163,16 @@ 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.
use front face culling
----------------------
:Type:boolean
:Range:True/False
:Default:True
Excludes theoretically unnecessary faces from shadow maps, slightly increasing performance.
In practice, Peter Panning can be much less visible with these faces included, so if you have high polygon offset values, disabling this may help minimise the side effects.
@ -666,6 +666,8 @@ minimum lispsm near far ratio = 0.25
polygon offset factor=1.1
# 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 https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glPolygonOffset.xhtml for details.
polygon offset units=4.0
# Excludes theoretically unnecessary faces from shadow maps, slightly increasing performance. In practice, Peter Panning can be much less visible with these faces included, so if you have high polygon offset values, disabling this may help minimise the side effects.
use front face culling=true
# Allow actors to cast shadows. Potentially decreases performance.
actor shadows=false
# Allow the player to cast shadows. Potentially decreases performance.