From: havoc Date: Mon, 28 Mar 2011 07:16:34 +0000 (+0000) Subject: do not use light scissoring on deferred lighting mode, it often yields X-Git-Tag: xonotic-v0.6.0~163^2~573 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e75885389d9e1997c22e8fa1839d5d62322468ba;p=xonotic%2Fdarkplaces.git do not use light scissoring on deferred lighting mode, it often yields strange artifacts on shadowless lights git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10973 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index 062892e4..bef3f2c3 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -2973,7 +2973,7 @@ int bboxedges[12][2] = qboolean R_Shadow_ScissorForBBox(const float *mins, const float *maxs) { - if (!r_shadow_scissor.integer) + if (!r_shadow_scissor.integer || r_shadow_usingdeferredprepass) { r_shadow_lightscissor[0] = r_refdef.view.viewport.x; r_shadow_lightscissor[1] = r_refdef.view.viewport.y;