4 static const int PARAM_DISTORT = 0;
5 static const int PARAM_CENTERX = 1;
6 static const int PARAM_CENTERY = 2;
7 static const int PARAM_CHROM_ABB = 3;
8 static const int PARAM_CHROM_ABB_SHIFTR = 4;
9 static const int PARAM_CHROM_ABB_SHIFTG = 5;
10 static const int PARAM_CHROM_ABB_SHIFTB = 6;
11 static const int PARAM_CHROM_COLOR_MOD = 7;
12 static const int PARAM_DISTORT_WEIGHT = 8;
15 static const int L_0_HMP = 100;
16 static const int L_1_HMP = 100;
17 static const int L_2_HMP = 100;
18 static const int L_3_HMP = 100;
19 static const int L_4_HMP = 100;
20 static const int L_5_HMP = 100;
21 static const int L_6_HMP = 100;
22 static const int L_7_HMP = 100;
24 override int GetPostProcessEffectID()
29 override string GetDefaultMaterialPath()
31 return "Graphics/Materials/postprocess/distort";
34 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 RegisterParameterColor(int idx, string parameter_name, float r, float g, float b, float a)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
Distort - PostProcessEffectType.Distort.
PostProcessEffectType
Post-process effect type.