Garry's Mod

Garry's Mod

Volumetric Lighting / Fog
315 Comments
Sgt.Quint Jul 30 @ 9:04pm 
Is it possible to use this in the InfMap?
FACE Apr 23 @ 1:47pm 
Can we get a convar to disable shadows? I just want enviroment fog
Binty 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.
Turtrog 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??
noobik113 Oct 26, 2024 @ 2:09pm 
ooo, wonder how much fps will i get with a gtx 1660 super
BOGYMA Oct 21, 2024 @ 8:21pm 
Would be a fun April fools change
Exotic Butters Oct 4, 2024 @ 10:42am 
Imagine if this was called "volumeetric" lol
BOGYMA Sep 30, 2024 @ 1:54pm 
@librik turn shadow quality up
librik Sep 24, 2024 @ 7:56pm 
how do you make it have shadows
BOGYMA Sep 17, 2024 @ 3:21pm 
S
🐍Taekwondo Sep 17, 2024 @ 4:43am 
s
Exotic Butters Aug 6, 2024 @ 11:19pm 
The lighting only Appears When i look in a specific direction. Is there any way to fix that?
⸸ₓナイトメアₓ⸸ Jul 31, 2024 @ 10:17pm 
oh my bad, i never knew you added that to the description
Meetric  [author] Jul 31, 2024 @ 6:56pm 
& for anyone asking for fog that "follows the player", see this addon

https://steamcommunity.com/sharedfiles/filedetails/?id=3280216633
Meetric  [author] Jul 31, 2024 @ 6:56pm 
use console command volumetrics_quality (1-4)

1 = Low (1/64th resolution)
2 = Medium (1/16th resolution)
3 = High (1/4 resolution)
4 = Extreme (full resolution)
⸸ₓナイトメアₓ⸸ Jul 31, 2024 @ 5:25pm 
i wanted to ask because i have no idea what im doing in the lua file but maybe we can have an option to select the resolution of the fog?

or even better could you tell me what i have to change to increase resolution?

local prev = render.GetRenderTarget()
render.SetRenderTarget(volumetric_rt) -- volume RT is 1/64th resolution which drastically speeds up drawing compute
render.Clear(0, 0, 0, 0)


it's fine if you dont wanna tell me but i thought to ask because i feel like i could run the fog at higher resolutions and not have massive performance issues
EXOCORE Jul 24, 2024 @ 11:23am 
you should make the settings save and make an option to use volumetric lighting when spawned in
bluecoolman280 Jul 20, 2024 @ 2:56pm 
is global illumination possible?
Biocrab Jul 18, 2024 @ 12:03pm 
volumeetric
Midnight Ruby Jul 17, 2024 @ 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, 2024 @ 12:42am 
Please make realistic, customizable smoke in Garry's mod
WesleyPlaysGames Jul 7, 2024 @ 6:46pm 
Finally, S2 lighting.
ArgyBargyGuy / Can Jul 7, 2024 @ 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, 2024 @ 5:32pm 
wasn't there another one like this that spawns in with you? (naturally?)
Toast Jul 3, 2024 @ 1:47pm 
O MY GOD THIS WONDERFUL!
SWAGER090 cz Jul 3, 2024 @ 5:05am 
Wow, epic
LucyLucerne Jul 3, 2024 @ 4:17am 
common MW base L
⸸ₓナイトメアₓ⸸ Jul 2, 2024 @ 3:25pm 
why do the mw weapons vanish💀
Leeland Jun 28, 2024 @ 11:44pm 
I dont have the cube thing to even start it any advice?
Zeb Jun 28, 2024 @ 5:02am 
What about a physics version of the entity as either a cube or a lamp
JoshN0S Jun 26, 2024 @ 7:14pm 
I believe you should create your own naturally occurring version after what happened with the addon fiasco. It's clear many people want it based on how fast that stolen addon gained traction.
Unsplosion Jun 25, 2024 @ 1:35pm 
when will gwater 2 come out for free?
Grox RU Jun 25, 2024 @ 1:30am 
I can't find it in the entity
TF2Player3253 Jun 24, 2024 @ 5:31pm 
How did you get the spotlight with the gmod logo?
Stopan Jun 17, 2024 @ 8:49am 
Me when I have an RTX card:
Mesopotamian Lead Merchant Jun 16, 2024 @ 12:17pm 
meow
KOISHIT Jun 16, 2024 @ 2:17am 
You can do it with pac3, just add a projected texture and put aim direction to local eyes.
ˣᵃʳᵗ Jun 15, 2024 @ 10:07pm 
just a good idea it would be cool if someone made a mod that makes this thing follow your fov to make a good effect if nobody does this i will attempt to do it myself
KOISHIT Jun 15, 2024 @ 9:25pm 
also, a question, have you thought on make this on the style of Black Mesa's Godrays, with it's custom shader, or you thought just on this way?
CosmosGalax Jun 15, 2024 @ 4:53pm 
whats is the command
Expie_gaming37 Jun 8, 2024 @ 2:40pm 
ball
steamguy0456789 Jun 7, 2024 @ 6:42pm 
OH MY PC!!!
W419S Jun 1, 2024 @ 3:33pm 
i burned my old pc with this