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;
24 override int GetPostProcessEffectID()
29 override string GetDefaultMaterialPath()
31 return "Graphics/Materials/postprocess/filmgrainNV";
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 RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
FilmGrain - PostProcessEffectType.FilmGrain.
PostProcessEffectType
Post-process effect type.