Darkplaces lighting/Additional options
From Blood Wiki
(Difference between revisions)
m |
m (VorteX moved page Darkplaces lighting/Additional renderer options to Darkplaces lighting/Additional options without leaving a redirect) |
Latest revision as of 17:50, 9 August 2012
Darkplaces lighting renderer have a bunch of misc options to tweak.
[edit] 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
[edit] 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