Garry's Mod

Garry's Mod

1,666 ratings
Volumetric Lighting / Fog
6
3
4
2
7
4
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 @ 1:57pm
Jul 3 @ 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
Mar 24 @ 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 @ 11:04pm
Whenever I spawn the entity it forms grand pillars of light rather than working as it supposed to
bug bite craig
3
Jun 25 @ 1:27am
ain't working
Book
292 Comments
EXOCORE Jul 24 @ 11:23am 
you should make the settings save and make an option to use volumetric lighting when spawned in
bluecoolman280 Jul 20 @ 2:56pm 
is global illumination possible?
Biocrab Jul 18 @ 12:03pm 
volumeetric
Midnight Ruby Jul 17 @ 10:09am 
@Peter Lemoncello there was, however it was removed because it used code from this without permission. I personally hope the creator of this mod will make a version like that, because it was nice to have it naturally spawned in.
Kirya Jul 10 @ 12:42am 
Please make realistic, customizable smoke in Garry's mod
WesleyPlaysGames Jul 7 @ 6:46pm 
Finally, S2 lighting.
ArgyBargyGuy Jul 7 @ 2:19pm 
there should be a thing where it looks like fog
like it has parts with dark and light spots
Peter Lemoncello Jul 3 @ 5:32pm 
wasn't there another one like this that spawns in with you? (naturally?)
dno cs gamer Jul 3 @ 1:47pm 
O MY GOD THIS WONDERFUL!
SWAGER090 cz Jul 3 @ 5:05am 
Wow, epic