Volumetric Lighting / Fog
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.
– 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)
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