GP: Change Blur default parameters for Rim and Shadow effects.

This commit is contained in:
2018-10-01 16:42:12 +02:00
parent a3afcae39e
commit ffcc4be3bb
2 changed files with 5 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)