Volumetric Lighting / Fog

If you liked this item, please rate it up on Steam Workshop page.

Author: Meetric

Last revision: 3 Jul, 2024 at 21:56 UTC

File size: 79.65 KB

On Steam Workshop

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