4 static const int PARAM_DROPDISTANCE = 0;
5 static const int PARAM_DROPSIZEX = 1;
6 static const int PARAM_DROPSIZEY = 2;
7 static const int PARAM_RAINFOGGINESS = 3;
8 static const int PARAM_RAINDENSITY = 4;
9 static const int PARAM_FOGCOLORMULT = 5;
10 static const int PARAM_BCKGRNDCOLORMULT = 6;
11 static const int PARAM_REFRACTIONSCALE = 7;
12 static const int PARAM_SUNVISIBLE = 8;
13 static const int PARAM_GODRAYINTNEAR = 9;
14 static const int PARAM_GODRAYINTFAR = 10;
15 static const int PARAM_RIPPLESBLEND = 11;
16 static const int PARAM_RIPPLESDIST = 12;
17 static const int PARAM_SPEED = 13;
18 static const int PARAM_DISTANTSPEED = 14;
19 static const int PARAM_WINDAFFECTSPEED = 15;
20 static const int PARAM_MINDIVERGENCE = 16;
21 static const int PARAM_MAXDIVERGENCE = 17;
22 static const int PARAM_WINDSPEEDFORMAXDIV = 18;
40 return "Graphics/Materials/postprocess/rain";
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 PPEClassBase(string mat_path_override="")
Rain - PostProcessEffectType.Rain.
PostProcessEffectType
Post-process effect type.