Darkplaces lighting Additional options - isgallagher/DpOmnicide GitHub Wiki
{{navigation title|}} Darkplaces lighting renderer have a bunch of misc options to tweak. ==Optimizations== For best performance, all optimisations should be on.
{{cvar|r_shadow_scissor|Use scissor optimization of light rendering (restricts rendering to the portion of the screen affected by the light)}} {{cvar|r_shadow_sortsurfaces|Improve performance by sorting illuminated surfaces by texture}} {{cvar|r_shadow_usebihculling|Use BIH for culling lit surfaces instead of BSP}}
==Light attenuation== This console variables change attenuation for all dynamic lights.
{{cvar|r_shadow_lightattenuationdividebias|Controls the speed of light fading, 1 is default linear fade.}} {{cvar|r_shadow_lightattenuationlinearscale|Linear scale applied during attenuation, larger values will make lesser half-light zones}} {{cvar|r_shadow_lightintensityscale|Renders all lights brighter or darker}} {{cvar|r_shadow_lightradiusscale|Renders all world lights larger or smaller}}
{{navigation footer|}}