GP: Add Blur to Shadow FX

The shadow needed a blur to make soft transitions and get a better effect.
This commit is contained in:
2018-10-01 16:30:43 +02:00
parent c234c3db1b
commit a3afcae39e
5 changed files with 86 additions and 2 deletions

View File

@@ -58,6 +58,8 @@ static void initData(ShaderFxData *md)
gpfx->period = 20.0f;
gpfx->phase = 0.0f;
gpfx->orientation = 1;
ARRAY_SET_ITEMS(gpfx->blur, 0, 0);
}
static void copyData(const ShaderFxData *md, ShaderFxData *target)