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;
22 return "Graphics/Materials/postprocess/hbao";
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 RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
void RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
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="")
HBAO - PostProcessEffectType.HBAO.
PostProcessEffectType
Post-process effect type.