Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-23 11:57:50 +0300
committerAntonioya <blendergit@gmail.com>2018-10-23 11:57:50 +0300
commit6d1fd1dc58120cd3cd4193cc50958095af198627 (patch)
tree662f1088ad754e33d1254d61e690ef613799c395 /source/blender/draw
parentfc3d771801ab3a864ae73cf881037063abcf89ce (diff)
GP: Reduce samples in glow
The number of samples was too high.
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/engines/gpencil/gpencil_shader_fx.c2
1 files changed, 1 insertions, 1 deletions
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;