31 return "Graphics/Materials/postprocess/distort";
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 RegisterParameterColor(int idx, string parameter_name, float r, float g, float b, float a)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
void PPEClassBase(string mat_path_override="")
static const int PARAM_CHROM_COLOR_MOD
Chromatic abberation blue channel shift magnitude. 0 = none, 2 = default.
override void RegisterMaterialParameters()
static const int PARAM_DISTORT_WEIGHT
Color modulation effect. (red, green, blue, scale) (0,0,0,0) = default.
override int GetPostProcessEffectID()
static const int PARAM_CENTERY
Lens center X direction (-1 = left, 0 = center, 1 = right)
static const int PARAM_DISTORT
static const int PARAM_CHROM_ABB_SHIFTG
Chromatic abberation red channel shift magnitude. 0 = none.
static const int PARAM_CHROM_ABB_SHIFTR
Maximum value of chromatic abberation, 0 = disable - note that chrom. aberr depends on amount of dist...
static const int PARAM_CHROM_ABB
Lens center Y direction (-1 = top, 0 = center, 1 = bottom)
static const int PARAM_CENTERX
Lens distortion magnitude, x > 0 = barrel distortion, x < 0 = pincushion distortion.
static const int PARAM_CHROM_ABB_SHIFTB
Chromatic abberation green channel shift magnitude. 0 = none, 1 = default.
static const int L_0_HMP
Distortion applied to imagine. 1 = all, 0 = none, applied only to ChromAbber.
override string GetDefaultMaterialPath()
Distort - PostProcessEffectType.Distort.
PostProcessEffectType
Post-process effect type.