Garry's Mod

Garry's Mod

806 ratings
Simple Chromatic Aberration Filter
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Movie, Scenic, Realism
File Size
Posted
Updated
17.643 KB
Feb 9 @ 4:17am
Feb 18 @ 8:40pm
21 Change Notes ( view )

Subscribe to download
Simple Chromatic Aberration Filter

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]
< >
147 Comments
bjpietz Feb 17 @ 5:48am 
imagine this with 3d glasses
chel.chopokayfu Feb 17 @ 2:51am 
@Arifuwu
I am ready to provide you with the code at any time convenient for you
Arifuwu  [author] Feb 17 @ 2:49am 
Interesting idea, I would like to try that. I assume when a light source/sun shines on your screen, and then a dirty lens shows up. But there's no guarantee if I can make that effect; my knowledge is not as much as you think. I will ask UnknownDeveloper about this. Thank you for your input.
chel.chopokayfu Feb 17 @ 1:32am 
The origin of the addon that I have is unknown. I got it from a friend of mine who made a backup copy a long time ago. In the screenshots of my "MMod Particles" reupload, you can see a slight highlight in the lower left corner. That's what this addon is. In the SFM workshop I found a good set of “Dirty lens” highlights that could be transferred to GMOD. Hope you find this interesting
chel.chopokayfu Feb 17 @ 1:32am 
@Arifuwu
@UnknownDeveloper
Good job guys! I previously left my comment, which is located on about 11-12 pages. And, as I assume, you are partial to post-processing in gmod. Earlier, in the comments under your work, I drew attention to one question (I could be wrong): “can you create a dirty lens/flare effect?” I was extremely interested in this, since I just have a good example of code that adds this very effect, but, in my opinion, it would not hurt to update / improve it... Unfortunately, my knowledge of code is very little for this work
Flexsealobama Feb 16 @ 10:56pm 
I HATE EVERYTIHNG WHY NO SKIBIDI TOILET PLEASE EKLP ME
1caroletucker Feb 16 @ 3:12pm 
great now i can be drunk like in red dead redemption 2
stuped Feb 16 @ 12:18pm 
lets you make surreal or liminal screenshots
try using:
https://steamcommunity.com/sharedfiles/filedetails/?id=2967541015 - map fits the theme
https://steamcommunity.com/sharedfiles/filedetails/?id=2804337750 - makes everything brighter or tf2 cartoony style
warm0use#savetf2 Feb 16 @ 9:35am 
░░░░░▄▄▄░░▄██▄░░░
░░░░░▐▀█▀▌░░░░▀█▄░░░
░░░░░▐█▄█▌░░░░░░▀█▄░░
░░░░░░▀▄▀░░░▄▄▄▄▄▀▀░░
░░░░▄▄▄██▀▀▀▀░░░░░░░
░░░█▀▄▄▄█░▀▀░░
░░░▌░▄▄▄▐▌▀▀▀░░ THIS IS skibidi toleyt
▄░▐░░░▄▄░█░▀▀ ░░
▀█▌░░░▄░▀█▀░▀ ░░
░░░░░░░▄▄▐▌▄▄░░░
░░░░░░░▀███▀█░▄░░
░░░░░░▐▌▀▄▀▄▀▐▄░░
░░░░░░▐▀░░░░░░▐▌░░
░░░░░░█░░░░░░░░█░░░
░░░░░▐▌░░░░░░░░░█░
GAMER DA IRONIA Feb 16 @ 9:34am 
crayz