Garry's Mod

Garry's Mod

2,107 ratings
Volumetric Lighting / Fog
6
4
4
2
7
5
6
4
3
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Scenic, Realism
File Size
Posted
Updated
79.647 KB
Mar 21, 2024 @ 1:57pm
Jul 3, 2024 @ 1:56pm
9 Change Notes ( view )

Subscribe to download
Volumetric Lighting / Fog

Description
Volumetric Lighting
Adds a volume_cloud entity to your game. The entity can be spawned by going to
Entities->Volumetrics->Volume Cloud

Open the context menu (hold C) and right click on the effects halo to change its properties.

Please Note:
- I suggest using this with the GMod shadow setting set to High
- Turning on 'Environment Fog' makes normal point lights kind of work.. (as long as the bounding box is small)

- The volumetrics_quality console command will change the resolution of the lighting. Performance gets exponentially worse the higher the number. (If you are not an animator I suggest leaving this at 1)
1 = Low (1/64th resolution)
2 = Medium (1/16th resolution)
3 = High (1/4 resolution)
4 = Extreme (full resolution)

Recommended Addons:
CSM (Used in second image)
Advanced light entities


Originally inspired by The J

discord: https://discord.gg/xWvhfargMY

Edit (6/25/24): Please ask for permission before reuploading or republishing any of this code. Thanks
Popular Discussions View All (11)
7
Jan 5 @ 11:16pm
OpenGL issue (Linux issue)
Goluboch
7
Mar 24, 2024 @ 9:56pm
If i spawn it,the house starts to flicker, when I entered the house, the world began to flicker
KRI4
7
Mar 23, 2024 @ 11:04pm
Whenever I spawn the entity it forms grand pillars of light rather than working as it supposed to
bug bite craig
314 Comments
FACE Apr 23 @ 1:47pm 
Can we get a convar to disable shadows? I just want enviroment fog
Beni_dude30 Apr 22 @ 7:54am 
problem solved; you're using a laptop.
ZekuistheZero Mar 20 @ 5:25pm 
What's so odd for me, is that this causes my gmod to freeze, and it never did that before, and recently (last month of February) a week before Valentines day, it began to freeze gmod, a lot. And I thought... maybe it was too much addons once more... So I removed a lot of them, (Have this still installed) and yet... It still continuously giving me issues...

And also recently; I got my laptop's RAM replaced, and here I thought this would help... (More odd; my laptop isn't old...)
An_Unknown_Player[FIN] Feb 26 @ 5:17am 
A regular GMod light, if you don't turn on the "Environment Fog" setting.
classic gamer Feb 25 @ 3:07pm 
Is there any lights that don't cause the volumetric effect for ambient lighting.
Borger Feb 20 @ 9:10am 
do i have to turn it on/spawn it in each time?
mrbanana825 Feb 15 @ 6:48pm 
can you make it so it can take up the whole map?
ScoundrelRed Dec 28, 2024 @ 3:14am 
Is there a way to toggle it on and off?
An_Unknown_Player[FIN] Nov 23, 2024 @ 3:45pm 
Are you pointing a lamp towards it or have you tried enabling the "Environment Fog" setting through the context menu?
Kley0r Nov 23, 2024 @ 2:26pm 
Hey so i got a problem,whenever i spawn it there's absolutely no fog.Like nothing nada absolute zero.Any fixes??