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;
33 override int GetPostProcessEffectID()
38 override string GetDefaultMaterialPath()
40 return "Graphics/Materials/postprocess/rain";
43 override void RegisterMaterialParameters()
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 ...