]> de.git.xonotic.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)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 11 Mar 2018 19:08:41 +0000 (19:08 +0000)
commit445f3df93c496079a8d74fb3213bad5b5cc277ae
tree4661333ad4b42ffb332c0c026c42d04131fdb367
parentbc190818e5b0a723ed94f270334acb7325f4684e
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
gl_rsurf.c
model_shared.h
r_shadow.c