From c678ac88ae44d7ee40e4706f107c481426179642 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 27 Feb 2010 21:10:42 +0000 Subject: [PATCH] don't apply motionblur when rendering to an envmap git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10030 d7cf8633-e32d-0410-b094-e92efae38249 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl_rmain.c b/gl_rmain.c index 1df0dff0..8b75a1c7 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -7897,7 +7897,7 @@ static void R_BlendView(void) cl.motionbluralpha *= lhrandom(1 - r_motionblur_randomize.value, 1 + r_motionblur_randomize.value); cl.motionbluralpha = bound(0, cl.motionbluralpha, r_motionblur_maxblur.value); // apply the blur - if (cl.motionbluralpha > 0) + if (cl.motionbluralpha > 0 && !r_refdef.envmap) { GL_BlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); GL_Color(1, 1, 1, cl.motionbluralpha); -- 2.39.2