DIFF

class PPEffectsSource

Deprecated; 'PPEManager' used instead

Constants 2

static const int COLORIZE_NV = 100
Referenced by Init(), and SetColorizationNV()
static const float COLOR_SHOCK = 0.1

shock color value (relative) //todo

Referenced by SetShockEffectColor()

Members 27

static int m_BlurInventory
Referenced by Init(), and SetBlurInventory()
static int m_BlurDrunk
Referenced by Init(), and SetBlurDrunk()
static int m_BlurFever
Referenced by Init(), and SetBlurFever()
static int m_BlurMenu
Referenced by Init(), and SetBlurMenu()
static int m_BlurOptics
Referenced by Init(), and SetBlurOptics()
static int m_BlurFlashbang
Referenced by Init(), and SetBlurFlashbang()
static int m_BlurShock
Referenced by SetBlurShock()
static int m_BurlapBlindness
static int m_DyingEffect
Referenced by Init(), and SetDeathDarkening()
static int m_ShockEffect
Referenced by Init(), and SetShockEffectColor()
static int m_ChromAbbOptic
Referenced by Init(), and SetChromAbbOptic()
static int m_VignetteUnconscious
static int m_VignetteShock
Referenced by Init(), and SetShockVignette()
static int m_VignetteTunnel
Referenced by Init(), and SetTunnelVignette()
static int m_VignetteMenu
Referenced by Init(), and SetMenuVignette()
static float m_BloodSaturation
static ref array<float> m_BlurValues
Referenced by Init(), RegisterBlurEffect(), ResetBlurEffects()
Show 2 more, SetBlurValue(), and UpdateBlur()
static ref array<float> m_ChromAbbValues
static ref array<int> m_VignetteEffects
static ref map<int, ref array<float>> m_VignetteValues
Referenced by Init(), ResetVignettes(), SetVignetteEffectValue()
Show 1 more, UpdateVignette()
static ref map<int, ref array<float>> m_ColorValues
Referenced by Init(), ResetColorEffects(), SetColorValue()
Show 1 more, UpdateColor()
static ref array<float> m_ColorEffect
Referenced by Init(), RegisterColorEffect(), ResetColorEffects()
Show 1 more, SetColorValue()
static ref map<int, ref array<float>> m_ColorizeEffects
static float m_ColorValueTotal[4] = {0,0,0,0}
static float m_ColorOverlayTotal
Referenced by UpdateColor()
static Material m_RadialBlur
Referenced by Init(), and SetRadialBlur()

Methods 56

static void ResetBlurEffects()
Referenced by ResetAll()
static void ResetRadialBlur()
References SetRadialBlur()
static void SetBlurValue(int index, float value)
static int RegisterBlurEffect()
Referenced by Init()
static void SetRadialBlur(float powerX, float powerY, float offsetX, float offsetY)

sets blur effect to an absolute value between 0..1

Referenced by ResetRadialBlur()
static void SetBlur(float value)

sets blur effect to an absolute value between 0..1

Referenced by UpdateBlur()
static void UpdateBlur()

updates the blur post process effect where the resulting blur is an aggregate of all individual blur effect values

static void SetBlurInventory(float value)

Set blur inventory effect to a specified 'value' between 0..1

static void SetBlurDrunk(float value)

Set blur drunk effect to a specified 'value' between 0..1

static void SetBlurFever(float value)

Set blur drunk effect to a specified 'value' between 0..1

static void SetBlurMenu(float value)

Set menu blur to a specified 'value' between 0..1

static void SetBlurOptics(float value)

Set optics and ironsights blur to a specified 'value' between 0..1

static void SetBlurFlashbang(float value)

Set blur flashbang hit effect to a specified 'value' between 0..1

static void SetBlurShock(float value)
static int RegisterChromAbbEffect()
Referenced by Init()
static void ResetChromAbbEffects()
static void SetChromAbbValue(int index, float value)
Referenced by SetChromAbbOptic()
static void SetChromAbb(float value)
Referenced by UpdateChromAbb()
static void UpdateChromAbb()

updates the chromatic abberation post process effect where the resulting chromabb is an aggregate of all individual chromabb effect values

static void SetChromAbbOptic(float value)
static void ResetColorEffects()
References array.Count(), map.Set(), UpdateColor()
Show 2 more, m_ColorEffect, and m_ColorValues
Referenced by ResetAll()
static void SetColorValue(int index, float r, float g, float b, float a, float overlay)
References array.Count(), Print(), map.Set()
Show 2 more, m_ColorEffect, and m_ColorValues
static int RegisterColorEffect()
Referenced by Init()
static void SetLensEffect(float lens, float chromAbb, float centerX, float centerY)

set lens effect

lens
<-5, 5>, 0 = disable (performance plus), > 0 = outside effect, < 0 inside effect
chromAbb
<0, 1>, chromaticity, 1 = max, 0 disable (performance plus)
centerX
<-1, 1>, center of effect, 0 = screen center in X
centerY
<-1, 1>, center of effect, 0 = screen center in Y
Referenced by ResetLensEffect()
static void PerformSetLensEffect(float lens, float chromAbb, float centerX, float centerY)

added for convenience

Referenced by SetLensEffect()
static void SetVignette(float intensity, float R, float G, float B, float A)

set vignette

intensity
<0, 1>, intensity of effect, 0 = disable
R
G
B
Referenced by UpdateVignette()
static void SetVignetteEffectValue(int index, float intensity, float r, float g, float b, float a)
References array.Count(), Print(), map.Set()
Show 2 more, m_VignetteEffects, and m_VignetteValues
static int RegisterVignetteEffect()
Referenced by Init()
static void SetUnconsciousnessVignette(float value)
static void SetShockVignette(float value)
static void SetTunnelVignette(float value)
static void SetMenuVignette(float value)
static void ResetVignettes()
References map.Count(), map.Set(), UpdateVignette()
Show 1 more, m_VignetteValues
Referenced by ResetAll()
static void OverrideDOF(bool enable, float focusDistance, float focusLength, float focusLengthNear, float blur, float focusDepthOffset)
Referenced by ResetDOFOverride()
static void AddPPMask(float ndcX, float ndcY, float ndcRadius, float ndcBlur)
static void ResetPPMask()
Referenced by ResetAll()
static void ResetDOFOverride()
References OverrideDOF()
Referenced by ResetAll()
static void ResetLensEffect()
References SetLensEffect()
Referenced by ResetAll()
static void HitEffect(float value)
static void SetShockEffectColor(float value)
References SetColorValue(), UpdateColor(), COLOR_SHOCK
Show 1 more, m_ShockEffect
static void FlashbangEffect(float value)
static void EnableBurlapSackBlindness()
static void DisableBurlapSackBlindness()
static void SetDeathDarkening(float value)
References Math.Clamp(), SetColorValue(), SetEVValuePP()
Show 2 more, UpdateColor(), and m_DyingEffect
static void UpdateSaturation()
Referenced by SetBloodSaturation()
static void UpdateVignette()
References array.Count(), map.Get(), Get()
Show 3 more, SetVignette(), m_VignetteEffects, and m_VignetteValues
static void SetBloodSaturation(float value)
Referenced by ResetAll()
static void SetColorizationNV(float r, float g, float b)
References map.Set(), UpdateColorize(), COLORIZE_NV
Show 1 more, m_ColorizeEffects
static void UpdateColorize()
Referenced by SetColorizationNV()
static void ResetColorize()
Referenced by ResetAll(), and UpdateColorize()
static void SetEVValuePP(float value)
Referenced by SetDeathDarkening()
static void SetNVParams(float light_mult, float noise_intensity, float sharpness, float grain_size)
static void SetBloom(float thres, float steep, float inten)