From 3356797550466b320ca897b33e6972ac6d15cefc Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 11 Sep 2016 23:06:22 +0000 Subject: [PATCH] Enable shadowmapping on transparent surfaces. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12282 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rsurf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rsurf.c b/gl_rsurf.c index c86bf2f6..93dd027f 100644 --- a/gl_rsurf.c +++ b/gl_rsurf.c @@ -1449,7 +1449,7 @@ static void R_Q1BSP_DrawLight_TransparentCallback(const entity_render_t *ent, co // note: in practice this never actually receives batches R_Shadow_RenderMode_Begin(); R_Shadow_RenderMode_ActiveLight(rtlight); - R_Shadow_RenderMode_Lighting(false, true, false, (ent->flags & RENDER_NOSELFSHADOW) != 0); + R_Shadow_RenderMode_Lighting(false, true, rtlight->shadowmapatlassidesize != 0, (ent->flags & RENDER_NOSELFSHADOW) != 0); R_Shadow_SetupEntityLight(ent); for (i = 0;i < numsurfaces;i = j) { -- 2.39.2