Garry's Mod

Garry's Mod

4,629 ratings
Real CSM - Modern Lighting & Realistic Dynamic Shadows
23
10
8
23
16
7
6
3
5
9
2
7
6
4
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Scenic, Realism
File Size
Posted
Updated
130.505 MB
4 Jun, 2022 @ 9:18pm
3 Jul @ 1:39am
121 Change Notes ( view )

Subscribe to download
Real CSM - Modern Lighting & Realistic Dynamic Shadows

In 1 collection by Xenthio
CSM Verified Maps
69 items
Description
Maintaining mods and fixing them takes a lot of free time, please please please consider supporting me on patreon.
https://patreon.com/Xenthio
I absolutely refuse to make this mod paid, so help me keep it that way

Finally, a real cascading shadow implementation on the workshop. Either with automatic spawning or manual spawning
To use this spawn the CSM Editor located in "Entities > Editors" in the spawnmenu.
Quality settings (including soft shadows) are located in "Utilities > User > CSM" in the spawnmenu.

Quick warning before I start:
This will look the best on maps that have a named light_environment, but will still work on any other map. Try it on gm_construct! looks great!
Let me know of any other maps that work with it, i haven't had time to go through many. My favourite is https://gtm.you1.cn/sharedfiles/filedetails/?id=2483210216
Join the discord for help and support, and also to see what else I might be working on: https://discord.gg/Y2M39gTNXD


This is the Fastest and best looking implementation on the workshop. This addon is also designed to take up 0 resources when not in use, meaning it's good for many use cases, no more constantly enabling and disabling addons!
Shout outs to Blueberry_pie for the original work I based this all off.

Make sure your shadow quality is set to high in your video settings

If you're a mapper here's your reminder to name the light_environments and put env_suns in your map, please, for not just this addon but many other addons too.
naming light environment by default will disable sun bounced lighting,I have a custom build of vrad that doesn't do this. You can get it here! (May increase compile times a bit) https://xenthio.github.io/stuff/vrad-csm-v1.zip

Any map that doesn't work well with this isn't something I can fix, ask the original mapper if they can update their map with a named light_environment!

Wanna help? chuck a PR here! https://github.com/Xenthio/RealCSM

Submit bugs and feature requests here
https://github.com/Xenthio/RealCSM/issues

Tested on multiplayer, works.

F.A.Q.
Stormfox 2 support?: play with the cvars csm_stormfoxsupport, csm_stormfox_brightness_multiplier and csm_stormfox_coloured_sun

CSM automatically on map load?: csm_spawnalways 1

Shadows are blocky and staircasy!: Raise the shadow quality either in the utility tab in the spawnmenu or by changing r_flashlightdepthres

Theres no shadows! the map is bright!: Make sure your gmod settings shadow quality is set to high

I can't enable high shadow quality!: add "-force_vendor_id 0x10DE -force_device_id 0x1180" to your launch options

Is this Ray Tracing / RTX ?: No it isn't, just your regular old projected textures.

Can this be put into Source SDK? Yeah someones already doing it! check out this github https://github.com/celisej567/Fake-CSM-Source-2013

This isn't real csm! It's just projected textures: No it is real csm, there's proper cascades and stuff, I just use projected textures to achieve this.

It's too laggy! while this doesn't require too beefy of a computer to run you will have a hard time running it on something really old, this runs fine on my old 2012 macbook so i would say that's your minimum. Try enabling things like gmod_mcore_test 1 in console to improve your gmod framerate.

Tags cause steam workshop search sucks: CSM, Cascading Shadows, Shadows, Graphics Enhancement, Graphics Mods, Realistic Lighting, Better Lights, Better Shadows, Realistic Shadows, Dynamic Lighting, Dynamic Shadows, HD GMOD, Realistic Garry's Mod, Realistic Gmod, HD, Ultra realism, Scene building, Scene lighting, CSGO Shadows, CSGO Lighting, Counter Strike Lighting, Counter Strike shadows
Popular Discussions View All (43)
539
4 Nov @ 7:30pm
PINNED: Problems and support
Xenthio
244
17 Nov @ 10:10am
PINNED: Questions
Xenthio
98
1 Nov @ 3:50pm
PINNED: shadows either look really bad or are non-existent.
snubow
1,898 Comments
theninjacat799 26 Dec @ 4:11pm 
The sun is leaking.

I figure there's not a whole lot you can do about it.
Ado_fx 24 Dec @ 10:33am 
lol
Xenthio  [author] 19 Dec @ 8:49pm 
no worries lol
Atomic_steel 19 Dec @ 7:48pm 
That was a fast reply, dang. Thank you for entertaining my question good sir.
Xenthio  [author] 19 Dec @ 7:41pm 
its a version of the map compiled with support for csm
Atomic_steel 19 Dec @ 7:33pm 
Nice mod, really neat. But why does it include a copy of one of the train station maps in Half-Life 2 located in the "other" menu of the map selector? Just curious. Awesome mod either way, I was just wondering. I'm surprised this is even a thing, must've took LOTS of hard work.
i love gmod 18 Dec @ 2:53pm 
half life: alyx lighting be like:
Xenthio  [author] 17 Dec @ 11:59am 
those settings are in Spawnmenu > Utilities > User > CSM
MrSlonik 17 Dec @ 2:09am 
@Xenthio you mean the settings that reset on each load along with warnings convar?
mrswormsweat 16 Dec @ 5:24pm 
Xenthio, What do you think about not having those as options that can be changed in the Utilities tab?