From: cloudwalk Date: Fri, 5 Jun 2020 14:55:28 +0000 (+0000) Subject: Draw coronas with the same cscale whether gl_flashblend or not. Fixes brightness X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e64db45ade8cd97911f8432d700b6bd2204d7700;p=xonotic%2Fdarkplaces.git Draw coronas with the same cscale whether gl_flashblend or not. Fixes brightness This should fix the ridiculously high brightness of coronas in pretty much every game, when gl_flashblend is 1. This brings it closer to what coronas looked like in 2014. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12640 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/r_shadow.c b/r_shadow.c index 6adc4ccc..7426574a 100644 --- a/r_shadow.c +++ b/r_shadow.c @@ -4663,10 +4663,7 @@ void R_Shadow_DrawCoronas(void) rtlight = r_refdef.scene.lights[i]; if (rtlight->corona_visibility <= 0) continue; - if (gl_flashblend.integer) - R_DrawCorona(rtlight, rtlight->corona, rtlight->radius * rtlight->coronasizescale * 2.0f); - else - R_DrawCorona(rtlight, rtlight->corona * r_coronas.value * 0.25f, rtlight->radius * rtlight->coronasizescale); + R_DrawCorona(rtlight, rtlight->corona * r_coronas.value * 0.25f, rtlight->radius * rtlight->coronasizescale); } }