4 static const int PARAM_BLURPOWER = 0;
5 static const int PARAM_LOCALBLURPOWER = 1;
6 static const int PARAM_EFFPOWERTOP = 2;
7 static const int PARAM_EFFPOWERBOTTOM = 3;
8 static const int PARAM_BLURDOWNSIZE = 4;
9 static const int PARAM_BLURGAUSS = 5;
10 static const int PARAM_WAVSPDX1 = 6;
11 static const int PARAM_WAVSPDX2 = 7;
12 static const int PARAM_WAVSPDY1 = 8;
13 static const int PARAM_WAVSPDY2 = 9;
14 static const int PARAM_WAVEAMPX1 = 10;
15 static const int PARAM_WAVEAMPX2 = 11;
16 static const int PARAM_WAVEAMPY1 = 12;
17 static const int PARAM_WAVEAMPY2 = 13;
18 static const int PARAM_PHASERANDX = 14;
19 static const int PARAM_PHASERANDY = 15;
20 static const int PARAM_PHASEPOSX = 16;
21 static const int PARAM_PHASEPOSY = 17;
23 override int GetPostProcessEffectID()
28 override string GetDefaultMaterialPath()
30 return "Graphics/Materials/postprocess/wetdistort";
33 override void RegisterMaterialParameters()
Created once, on manager init. Script-side representation of C++ material class, separate handling.
void RegisterParameterScalarFloat(int idx, string parameter_name, float default_value, float min, float max)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
WetDistort - PostProcessEffectType.WetDistort.
PostProcessEffectType
Post-process effect type.