4 static const int PARAM_POWER = 0;
5 static const int PARAM_MINANGLEPERSEC = 1;
6 static const int PARAM_MAXANGLEPERSEC = 2;
7 static const int PARAM_MINDEPTH = 3;
8 static const int PARAM_MAXDEPTH = 4;
10 override int GetPostProcessEffectID()
15 override string GetDefaultMaterialPath()
17 return "Graphics/Materials/postprocess/rotblur";
20 override void RegisterMaterialParameters()
22 RegisterParameterScalarFloat(PARAM_POWER,
"Power",0.0,0.0,0.09);
23 RegisterParameterScalarFloat(PARAM_MINANGLEPERSEC,
"MinAnglePerSec",10.0,0.0,180.0);
24 RegisterParameterScalarFloat(PARAM_MAXANGLEPERSEC,
"MaxAnglePerSec",100.0,0.0,180.0);
25 RegisterParameterScalarFloat(PARAM_MINDEPTH,
"MinDepth",2.5,0.0,5.0);
26 RegisterParameterScalarFloat(PARAM_MAXDEPTH,
"MaxDepth",4.5,0.0,50.0);