From 6d1fd1dc58120cd3cd4193cc50958095af198627 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Tue, 23 Oct 2018 10:57:50 +0200 Subject: GP: Reduce samples in glow The number of samples was too high. --- source/blender/draw/engines/gpencil/gpencil_shader_fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw') diff --git a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c index ebdb2cf086a..fcadf296253 100644 --- a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c +++ b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c @@ -891,7 +891,7 @@ static void draw_gpencil_do_blur( e_data->input_color_tx = e_data->temp_color_tx_b; if ((samples > 0) && ((bx > 0) || (by > 0))) { - for (int x = 0; x < samples * 4; x++) { + for (int x = 0; x < samples; x++) { /* horizontal */ blur[0] = bx; -- cgit v1.2.3