5 static const int PARAM_RADIUSMETERS = 0;
6 static const int PARAM_INTENSITY = 1;
7 static const int PARAM_BLURSHARPNESS = 2;
8 static const int PARAM_NDOTVBIAS = 3;
9 static const int PARAM_SMALLSCALEAO = 4;
10 static const int PARAM_LARGESCALEAO = 5;
11 static const int PARAM_NUMDIRECTIONS = 6;
12 static const int PARAM_NUMSAMPLES = 7;
13 static const int PARAM_DEINTERLEAVE = 8;
15 override int GetPostProcessEffectID()
20 override string GetDefaultMaterialPath()
22 return "Graphics/Materials/postprocess/hbao";
25 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)
HBAO - PostProcessEffectType.HBAO.
PostProcessEffectType
Post-process effect type.