37 switch (
loa.GetIndex())
40 ret =
"Graphics/Materials/postprocess/hbao_low";
44 ret =
"Graphics/Materials/postprocess/hbao_medium";
48 ret =
"Graphics/Materials/postprocess/hbao_high";
52 ret =
"Graphics/Materials/postprocess/hbao_highest";
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)
SSAO - PostProcessEffectType.SSAO.
override string GetDefaultMaterialPath()
static const int PARAM_RADIUSFAR
static const int PARAM_NEARINTENSITY
static const int POSTPROCESS_OPTION_VALUE_HIGH
static const int PARAM_RADIUSNEAR
static const int PARAM_NUMPASSES
static const int PARAM_COSANGLE1
override int GetPostProcessEffectID()
static const int PARAM_FARINTENSITYDIST
static const int POSTPROCESS_OPTION_VALUE_LOW
static const int PARAM_BLURSIZE
static const int POSTPROCESS_OPTION_VALUE_MEDIUM
static const int PARAM_COSANGLE0
static const int PARAM_INTENSITY
static const int PARAM_MAXDISTANCE
static const int POSTPROCESS_OPTION_VALUE_HIGHEST
static const int PARAM_MAXBLURDISTANCE
static const int PARAM_COLORAMOUNT
static const int PARAM_FARINTENSITY
static const int PARAM_NUMBLURPASSES
override void RegisterMaterialParameters()
static const int PARAM_COLORSSAOAMOUNT
OptionAccessType
C++ OptionAccessType.
PostProcessEffectType
Post-process effect type.