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;
31 return "Graphics/Materials/postprocess/distort";
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 ...
string GetDefaultMaterialPath()
override this if you want to use different path by default; '.emat' is appended automatically
void RegisterMaterialParameters()
inserted into associative array by parameter int value, parameter registration order does not matter ...
int GetPostProcessEffectID()
Overriden in all material classes!
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 ...
void PPEClassBase(string mat_path_override="")
Distort - PostProcessEffectType.Distort.
PostProcessEffectType
Post-process effect type.