From e64db45ade8cd97911f8432d700b6bd2204d7700 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Fri, 5 Jun 2020 14:55:28 +0000 Subject: [PATCH] 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 --- r_shadow.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } } -- 2.39.2