Darkplaces lighting/Additional options
From Blood Wiki
(Difference between revisions)
m (VorteX moved page Darkplaces lighting/Tweaking to Darkplaces lighting/Additional renderer options without leaving a redirect) |
Revision as of 17:49, 9 August 2012
Darkplaces lighting | previous chapter: Light sources
Contents |
Darkplaces lighting renderer have a bunch of misc options to tweak.
Optimizations
For best performance, all optimisations should be on.
r_shadow_scissor : Use scissor optimization of light rendering (restricts rendering to the portion of the screen affected by the light)
r_shadow_sortsurfaces : Improve performance by sorting illuminated surfaces by texture
r_shadow_usebihculling : Use Bounding Interval Hierarchy for culling lit surfaces instead of Binary Space Partitioning
Light attenuation
This console variables change attenuation for all dynamic lights.
r_shadow_lightattenuationdividebias : Controls the speed of light fading, 1 is default linear fade.
r_shadow_lightattenuationlinearscale : Linear scale applied during attenuation, larger values will make lesser half-light zones
r_shadow_lightintensityscale : Renders all lights brighter or darker
r_shadow_lightradiusscale : Renders all world lights larger or smaller