]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Change shadowless rtlights so that they are not occluded by anything - no pvs checks...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2018 19:08:41 +0000 (19:08 +0000)
committerRudolf Polzer <divVerent@xonotic.org>
Tue, 3 Apr 2018 13:36:27 +0000 (06:36 -0700)
commit7bbf90e362582921fa1c13007d2654bf0e8764da
tree4661333ad4b42ffb332c0c026c42d04131fdb367
parent7cdf95616b0a93faa3873f561f990f3bdf1e79df
Change shadowless rtlights so that they are not occluded by anything - no pvs checks or portal culling.

This makes r_shadow_deferred 0 look the same as r_shadow_deferred 1 - lights fill their whole area if there are no shadows to block them.

This also fixes a popping issue with r_shadow_deferred 1 where the eye was not in a leaf the light considered to be visible, and thus the light was not drawn (which made quite a difference when you move back and forth between leafs that were and were not lit), since when it was drawn it lit everything in the area.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12347 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=445f3df93c496079a8d74fb3213bad5b5cc277ae
gl_rsurf.c
model_shared.h
r_shadow.c