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-01 17:42:12 +0300
committerAntonioya <blendergit@gmail.com>2018-10-01 17:42:12 +0300
commitffcc4be3bbb2cc74cf1de08b6069cf2c16c4db51 (patch)
treeb7e7c360b63a102d7251be90d62ee7451d11eb95 /source/blender/shader_fx
parenta3afcae39ed03e0d62087992dac0b64f1a2a3138 (diff)
GP: Change Blur default parameters for Rim and Shadow effects.
Diffstat (limited to 'source/blender/shader_fx')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_rim.c4
-rw-r--r--source/blender/shader_fx/intern/FX_shader_shadow.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/shader_fx/intern/FX_shader_rim.c b/source/blender/shader_fx/intern/FX_shader_rim.c
index bea6f645033..72be2202867 100644
--- a/source/blender/shader_fx/intern/FX_shader_rim.c
+++ b/source/blender/shader_fx/intern/FX_shader_rim.c
@@ -43,7 +43,9 @@ static void initData(ShaderFxData *fx)
ARRAY_SET_ITEMS(gpfx->rim_rgb, 1.0f, 1.0f, 0.5f);
ARRAY_SET_ITEMS(gpfx->mask_rgb, 0.0f, 0.0f, 0.0f);
gpfx->mode = eShaderFxRimMode_Multiply;
- ARRAY_SET_ITEMS(gpfx->blur, 0, 0);
+
+ ARRAY_SET_ITEMS(gpfx->blur, 5, 5);
+ gpfx->samples = 2;
}
static void copyData(const ShaderFxData *md, ShaderFxData *target)
diff --git a/source/blender/shader_fx/intern/FX_shader_shadow.c b/source/blender/shader_fx/intern/FX_shader_shadow.c
index 8d4c34b5864..e3a9543fcb4 100644
--- a/source/blender/shader_fx/intern/FX_shader_shadow.c
+++ b/source/blender/shader_fx/intern/FX_shader_shadow.c
@@ -59,7 +59,8 @@ static void initData(ShaderFxData *md)
gpfx->phase = 0.0f;
gpfx->orientation = 1;
- ARRAY_SET_ITEMS(gpfx->blur, 0, 0);
+ ARRAY_SET_ITEMS(gpfx->blur, 5, 5);
+ gpfx->samples = 2;
}
static void copyData(const ShaderFxData *md, ShaderFxData *target)