Garry's Mod

Garry's Mod

Volumetric Lighting / Fog
314 Comments
FACE 23 Apr @ 1:47pm 
Can we get a convar to disable shadows? I just want enviroment fog
Binty 22 Apr @ 7:54am 
problem solved; you're using a laptop.
ZekuistheZero 20 Mar @ 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] 26 Feb @ 5:17am 
A regular GMod light, if you don't turn on the "Environment Fog" setting.
classic gamer 25 Feb @ 3:07pm 
Is there any lights that don't cause the volumetric effect for ambient lighting.
Turtrog 20 Feb @ 9:10am 
do i have to turn it on/spawn it in each time?
mrbanana825 15 Feb @ 6:48pm 
can you make it so it can take up the whole map?
ScoundrelRed 28 Dec, 2024 @ 3:14am 
Is there a way to toggle it on and off?
An_Unknown_Player[FIN] 23 Nov, 2024 @ 3:45pm 
Are you pointing a lamp towards it or have you tried enabling the "Environment Fog" setting through the context menu?
Kley0r 23 Nov, 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 26 Oct, 2024 @ 2:09pm 
ooo, wonder how much fps will i get with a gtx 1660 super
BOGYMA 21 Oct, 2024 @ 8:21pm 
Would be a fun April fools change
Exotic Butters 4 Oct, 2024 @ 10:42am 
Imagine if this was called "volumeetric" lol
BOGYMA 30 Sep, 2024 @ 1:54pm 
@librik turn shadow quality up
librik 24 Sep, 2024 @ 7:56pm 
how do you make it have shadows
BOGYMA 17 Sep, 2024 @ 3:21pm 
S
Snake 17 Sep, 2024 @ 4:43am 
s
Exotic Butters 6 Aug, 2024 @ 11:19pm 
The lighting only Appears When i look in a specific direction. Is there any way to fix that?
⸸ₓナイトメアₓ⸸ 31 Jul, 2024 @ 10:17pm 
oh my bad, i never knew you added that to the description
Meetric  [author] 31 Jul, 2024 @ 6:56pm 
& for anyone asking for fog that "follows the player", see this addon

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3280216633
Meetric  [author] 31 Jul, 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)
⸸ₓナイトメアₓ⸸ 31 Jul, 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 24 Jul, 2024 @ 11:23am 
you should make the settings save and make an option to use volumetric lighting when spawned in
bluecoolman280 20 Jul, 2024 @ 2:56pm 
is global illumination possible?
evil foll ginlan davbrer witer 18 Jul, 2024 @ 12:03pm 
volumeetric
Midnight Ruby 17 Jul, 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 10 Jul, 2024 @ 12:42am 
Please make realistic, customizable smoke in Garry's mod
WesleyPlaysGames 7 Jul, 2024 @ 6:46pm 
Finally, S2 lighting.
ArgyBargyGuy / Can 7 Jul, 2024 @ 2:19pm 
there should be a thing where it looks like fog
like it has parts with dark and light spots
Peter Lemoncello 3 Jul, 2024 @ 5:32pm 
wasn't there another one like this that spawns in with you? (naturally?)
Agressor 3 Jul, 2024 @ 1:47pm 
O MY GOD THIS WONDERFUL!
SWAGER090 cz 3 Jul, 2024 @ 5:05am 
Wow, epic
AstoraNoble 3 Jul, 2024 @ 4:17am 
common MW base L
⸸ₓナイトメアₓ⸸ 2 Jul, 2024 @ 3:25pm 
why do the mw weapons vanish💀
mfugate699 28 Jun, 2024 @ 11:44pm 
I dont have the cube thing to even start it any advice?
Zeb 28 Jun, 2024 @ 5:02am 
What about a physics version of the entity as either a cube or a lamp
JoshN0S 26 Jun, 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 25 Jun, 2024 @ 1:35pm 
when will gwater 2 come out for free?
Grox RU 25 Jun, 2024 @ 1:30am 
I can't find it in the entity
TF2Player3253 24 Jun, 2024 @ 5:31pm 
How did you get the spotlight with the gmod logo?
Stopan 17 Jun, 2024 @ 8:49am 
Me when I have an RTX card:
q1rek 16 Jun, 2024 @ 12:17pm 
meow
KOISHIT 16 Jun, 2024 @ 2:17am 
You can do it with pac3, just add a projected texture and put aim direction to local eyes.
xart 15 Jun, 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 15 Jun, 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 15 Jun, 2024 @ 4:53pm 
whats is the command
yharon_gamingreal 8 Jun, 2024 @ 2:40pm 
ball
steamguy0456789 7 Jun, 2024 @ 6:42pm 
OH MY PC!!!
W419S 1 Jun, 2024 @ 3:33pm 
i burned my old pc with this
B 16 May, 2024 @ 6:26am 
How can i bake this into my map - i tried adding the entity but can't set the size or blur