4 static const int PARAM_POWERX = 0;
5 static const int PARAM_POWERY = 1;
6 static const int PARAM_OFFSETX = 2;
7 static const int PARAM_OFFSETY = 3;
8 static const int PARAM_PIXELSCALE = 4;
11 static const int L_0_PAIN_BLUR = 100;
14 override int GetPostProcessEffectID()
19 override string GetDefaultMaterialPath()
21 return "Graphics/Materials/postprocess/radialblur";
24 override void RegisterMaterialParameters()
26 RegisterParameterScalarFloat(PARAM_POWERX,
"PowerX",0.0,0.0,0.1);
27 RegisterParameterScalarFloat(PARAM_POWERY,
"PowerY",0.0,0.0,0.1);
28 RegisterParameterScalarFloat(PARAM_OFFSETX,
"OffsetX",0.05,0.0,0.5);
29 RegisterParameterScalarFloat(PARAM_OFFSETY,
"OffsetY",0.05,0.0,0.5);
30 RegisterParameterScalarFloat(PARAM_PIXELSCALE,
"PixelScale",0.5,0.125,1.0);