8 static const int PARAM_INTENSITY = 0;
9 static const int PARAM_SHARPNESS = 1;
10 static const int PARAM_GRAINSIZE = 2;
11 static const int PARAM_INTENSITYX0 = 3;
12 static const int PARAM_INTENSITYX1 = 4;
13 static const int PARAM_MONOCHROMATIC = 5;
14 static const int PARAM_SIMPLE = 6;
15 static const int PARAM_DISTORT = 7;
16 static const int PARAM_FREQUENCY = 8;
19 static const int L_1_NVG = 100;
20 static const int L_1_TOXIC_TINT = 200;
21 static const int L_2_NVG = 100;
22 static const int L_2_TOXIC_TINT = 200;
31 return "Graphics/Materials/postprocess/filmgrainNV";
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 RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
void RegisterMaterialParameters()
inserted into associative array by parameter int value, parameter registration order does not matter ...
int GetPostProcessEffectID()
Overriden in all material classes!
void PPEClassBase(string mat_path_override="")
FilmGrain - PostProcessEffectType.FilmGrain.
PostProcessEffectType
Post-process effect type.