4 static const int PARAM_INTENSITY = 0;
5 static const int PARAM_SUNVISIBLE = 1;
6 static const int PARAM_OVERBURNINTENSITY = 2;
7 static const int PARAM_OVERBURNSTART = 3;
8 static const int PARAM_OVERBURNEND = 4;
11 static const int L_0_GLASSES = 100;
13 override int GetPostProcessEffectID()
18 override string GetDefaultMaterialPath()
20 return "Graphics/Materials/postprocess/godrayssun";
23 override void RegisterMaterialParameters()
25 RegisterParameterScalarFloat(PARAM_INTENSITY,
"Intensity",0.8,0,1);
26 RegisterParameterScalarFloat(PARAM_SUNVISIBLE,
"SunVisible",1.0,0,1);
27 RegisterParameterScalarFloat(PARAM_OVERBURNINTENSITY,
"OverBurnIntensity",0.25,0,1);
28 RegisterParameterScalarFloat(PARAM_OVERBURNSTART,
"OverBurnStart",0.025,0,1);
29 RegisterParameterScalarFloat(PARAM_OVERBURNEND,
"OverBurnEnd",0.175,0,1);