7 if (mask_array.Count() != 4)
9 mask_array = {0.0,0.0,0.0,0.0};
11 GetGame().
AddPPMask(mask_array[0], mask_array[1], mask_array[2], mask_array[3]);
14 if (lens_array.Count() != 4)
16 lens_array = {0.0,0.0,0.0,0.0};
PPOperators
PP operators, specify operation between subsequent layers.
proto native void ResetPPMask()
proto native void AddPPMask(float ndcX, float ndcY, float ndcRadius, float ndcBlur)
static const int PARAM_FOCUS_LEN
static const int PARAM_FOCUS_LEN_NEAR
static const int PARAM_FOCUS_DIST
static const int PARAM_BLUR
static const int PARAM_FOCUS_DEPTH_OFFSET
static const int PARAM_ENABLE
DOF postprocess, does not directly use materials.
static const int PARAM_INTENSITY
GaussFilter - PostProcessEffectType.GaussFilter.
static const int L_27_ADS
static const int L_28_ADS
static const int PARAM_MAXCHROMABBERATION
static const int L_29_ADS
static const int PARAM_LENSDISTORT
static const int L_30_ADS
static const int PARAM_LENSCENTERY
static const int PARAM_LENSCENTERX
Glow - PostProcessEffectType.Glow.
void SetValuesIronsights(out array< float > DOF_array)
void SetValuesOptics(out array< float > mask_array, out array< float > lens_array, float gauss=0.0)
void OnStop(Param par=null)
base, not to be used directly, would lead to layering collisions!
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()
PostProcessEffectType
Post-process effect type.