Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
ppegaussfilter.c
Go to the documentation of this file.
1
3{
4 static const int PARAM_INTENSITY = 0;
5
6 static const int L_0_ADS = 100;
7 static const int L_0_SHOCK = 200;
8 static const int L_0_FEVER = 300;
9 static const int L_0_FLASHBANG = 400;
10 static const int L_0_INV = 500;
11 static const int L_0_MENU = 600;
12 static const int L_0_CONTROLS = 700;
13 static const int L_0_LATENCY = 750;
14 static const int L_0_TUTORIALS = 800;
15 static const int L_0_FEEDBACK = 850;
16 static const int L_0_SERVER_BROWSER = 900;
17 static const int L_0_DISCONNECT = 1000;
18
19 override int GetPostProcessEffectID()
20 {
21 return PostProcessEffectType.GaussFilter;
22 }
23
24 override string GetDefaultMaterialPath()
25 {
26 return "Graphics/Materials/postprocess/gauss";
27 }
28
29 override void RegisterMaterialParameters()
30 {
31 RegisterParameterScalarFloat(PARAM_INTENSITY,"Intensity",0.0,0.0,1.0);
32 }
33}
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 ...
GaussFilter - PostProcessEffectType.GaussFilter.
PostProcessEffectType
Post-process effect type.
Definition enworld.c:72