67 m_RadialBlur =
GetGame().GetWorld().GetMaterial(
"graphics/materials/postprocess/radialblur");
130 Print(
"Error: PPEffects: m_BlurValues with index: " +
index +
" is not registered.");
255 Print(
"Error: PPEffects: m_ChromAbbValues with index: " +
index +
" is not registered.");
339 Print(
"Error: PPEffects: m_ColorValues with index: " +
index +
" is not registered.");
425 Print(
"Error: PPEffects: m_ColorValues with index: " +
index +
" is not registered.");
Deprecated; 'PPEManager' used instead.
static void ResetVignettes()
static void SetChromAbbValue(int index, float value)
static int RegisterVignetteEffect()
static ref map< int, ref array< float > > m_VignetteValues
static void AddPPMask(float ndcX, float ndcY, float ndcRadius, float ndcBlur)
static void ResetDOFOverride()
static void SetColorizationNV(float r, float g, float b)
static void SetNVParams(float light_mult, float noise_intensity, float sharpness, float grain_size)
static void ResetRadialBlur()
static void ResetBlurEffects()
static void ResetPPMask()
static ref array< int > m_VignetteEffects
static float m_BloodSaturation
static void SetUnconsciousnessVignette(float value)
static Material m_MatColors
static void SetVignette(float intensity, float R, float G, float B, float A)
static const int COLORIZE_NV
static void SetMenuVignette(float value)
static void SetLensEffect(float lens, float chromAbb, float centerX, float centerY)
static void SetBlur(float value)
sets blur effect to an absolute value between 0..1
static void OverrideDOF(bool enable, float focusDistance, float focusLength, float focusLengthNear, float blur, float focusDepthOffset)
static int m_VignetteMenu
static void SetBlurFlashbang(float value)
Set blur flashbang hit effect to a specified 'value' between 0..1.
static int m_VignetteShock
static int RegisterBlurEffect()
static void ResetColorize()
static void UpdateColorize()
static int m_BlurFlashbang
static void SetBlurInventory(float value)
Set blur inventory effect to a specified 'value' between 0..1.
static void SetBloodSaturation(float value)
static void SetShockVignette(float value)
static float m_ColorValueTotal[4]
static void UpdateColor()
static void SetShockEffectColor(float value)
static void SetVignetteEffectValue(int index, float intensity, float r, float g, float b, float a)
static ref array< float > m_ColorEffect
static void SetBlurValue(int index, float value)
static void UpdateBlur()
updates the blur post process effect where the resulting blur is an aggregate of all individual blur ...
static int m_BurlapBlindness
static void DisableBurlapSackBlindness()
static void SetBloom(float thres, float steep, float inten)
static int RegisterColorEffect()
static ref map< int, ref array< float > > m_ColorizeEffects
static void SetEVValuePP(float value)
static void UpdateVignette()
static void SetChromAbbOptic(float value)
static void SetBlurOptics(float value)
Set optics and ironsights blur to a specified 'value' between 0..1.
static Material m_RadialBlur
static ref array< float > m_ChromAbbValues
static int m_ChromAbbOptic
static void HitEffect(float value)
static void SetBlurDrunk(float value)
Set blur drunk effect to a specified 'value' between 0..1.
static void ResetLensEffect()
static void SetBlurShock(float value)
static void ResetColorEffects()
static int m_VignetteTunnel
static int RegisterChromAbbEffect()
static void SetColorValue(int index, float r, float g, float b, float a, float overlay)
static int m_VignetteUnconscious
static void SetDeathDarkening(float value)
static void PerformSetLensEffect(float lens, float chromAbb, float centerX, float centerY)
added for convenience
static ref array< float > m_BlurValues
static void FlashbangEffect(float value)
static float m_ColorOverlayTotal
static void EnableBurlapSackBlindness()
static void SetBlurFever(float value)
Set blur drunk effect to a specified 'value' between 0..1.
static void UpdateChromAbb()
updates the chromatic abberation post process effect where the resulting chromabb is an aggregate of ...
static void SetChromAbb(float value)
static void UpdateSaturation()
static const float COLOR_SHOCK
static ref map< int, ref array< float > > m_ColorValues
static void ResetChromAbbEffects()
static void SetTunnelVignette(float value)
static void SetBlurMenu(float value)
Set menu blur to a specified 'value' between 0..1.
static int m_BlurInventory
static void SetRadialBlur(float powerX, float powerY, float offsetX, float offsetY)
sets blur effect to an absolute value between 0..1
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.