[Bf-blender-cvs] [6d1fd1dc581] blender2.8: GP: Reduce samples in glow
Antonioya
noreply at git.blender.org
Tue Oct 23 10:58:01 CEST 2018
Commit: 6d1fd1dc58120cd3cd4193cc50958095af198627
Author: Antonioya
Date: Tue Oct 23 10:57:50 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB6d1fd1dc58120cd3cd4193cc50958095af198627
GP: Reduce samples in glow
The number of samples was too high.
===================================================================
M source/blender/draw/engines/gpencil/gpencil_shader_fx.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list