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:
Diffstat (limited to 'source/blender/shader_fx/intern/FX_shader_shadow.c')
-rw-r--r--source/blender/shader_fx/intern/FX_shader_shadow.c3
1 files changed, 2 insertions, 1 deletions
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)