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;
20 return "Graphics/Materials/postprocess/godrayssun";
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="")
GodRays - PostProcessEffectType.GodRays.
PostProcessEffectType
Post-process effect type.