5 static const int PARAM_DOFLQ = 0;
6 static const int PARAM_FOCALDISTANCE = 1;
7 static const int PARAM_HYPERFOCAL = 2;
8 static const int PARAM_FOCALOFFSET = 3;
9 static const int PARAM_BLURFACTOR = 4;
10 static const int PARAM_SIMPLEDOF = 5;
11 static const int PARAM_SIMPLEHFNEAR = 6;
12 static const int PARAM_SIMPLEDOFSIZE = 7;
13 static const int PARAM_SIMPLEDOFGAUSS = 8;
15 override int GetPostProcessEffectID()
20 override string GetDefaultMaterialPath()
22 string ret =
"Graphics/Materials/postprocess/depthoffieldTest2";
49 override void RegisterMaterialParameters()
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 ...
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
void RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
DepthOfField - PostProcessEffectType.DepthOfField.
PostProcessEffectType
Post-process effect type.