Simple Chromatic Aberration Filter

If you liked this item, please rate it up on Steam Workshop page.

Authors: Unknown Developer, Arifuwu

Last revision: 19 Feb, 2024 at 04:40 UTC

File size: 17.64 KB

On Steam Workshop

Description:

Adding Chromatic Aberration to your gmod.

What is this?

"In optics, chromatic aberration (CA), also called chromatic distortion and spherochromatism, is a failure of a lens to focus all colors to the same point. It is caused by dispersion: the refractive index of the lens elements varies with the wavelength of light."

Wikipedia[en.wikipedia.org]
I am trying to create the color diffraction effect commonly found in a camera, the results is quite good, especially if combined with super DOF and vignette, the effect resembles a real camera.
i think… :v

How to

Q menu > PostProcess tab > Shaders > Chromatic Aberration

now with more customization.

Cvar

pp_scaf || 0 disable / 1 enable
pp_scaf_intensity || Adjust intensity of Chromatic Aberration
pp_scaf_bluex
pp_scaf_bluey
pp_scaf_greenx
pp_scaf_greeny
pp_scaf_redx
pp_scaf_redy

Extras

If HDR is becoming too bright, I recommend you to subscribe this addon.
Quick Bloom/HDR Brightness Fix
On darker map like Weapon Depot you can set mat_autoexposure_max 1 or lower if not dark enough

Mod used in the screenshot:
Grant Street
H0L-D4: Holographic Heads Up Display
More Post Processing Effects

Credits

Arifuwu me.
Unknown Developer for improving the code and functionality.

hope you like it ^_^ thank you..
Uploaded with gmpublisher[github.com]