Garry's Mod

Garry's Mod

Real CSM - Modern Lighting & Realistic Dynamic Shadows
2,048 Comments
mel gibson's oldest soldier 11 Jul @ 12:15pm 
real chainsaw man
Xenthio  [author] 9 Jul @ 2:39am 
pretty sure what that addon does is actually built into gmod with a console command
Xenthio  [author] 8 Jul @ 2:44am 
what do you mean source shadows?
󠀡󠀡 8 Jul @ 12:52am 
does this support source shadows or no
How do i explain this 26 Jun @ 10:46am 
Real ConshaSuMare
gooncrab 25 Jun @ 6:34pm 
annoying that it only has shadows from the sun. other then that, okay.
lavbubl 24 Jun @ 9:44pm 
yea sadly recompilings the best option but its still peak
EPICMAN 23 Jun @ 5:22pm 
I fixed it by putting the shadow quality high because I saw the discussion, thanks :steamthumbsup::steamhappy:
Xenthio  [author] 22 Jun @ 10:07pm 
@Unfortunate it should just look like that if you have shadow quality in gmod's advanced video settings set to high. If there is no high option, gmod thinks your gpu is not powerful enough, however you can still force the high option to show up if you use these launch options: "-force_vendor_id 0x10DE -force_device_id 0x1180"
Xenthio  [author] 22 Jun @ 10:05pm 
@lavbubl, nope. the best option is recompiling the map.
Unfortunate 22 Jun @ 9:46pm 
How do I make the CSM look like as it is in the video?
I just spawned in CSM on construct and there's just no shadows at all.
lavbubl 22 Jun @ 8:26pm 
is there a way to have the maps shadows just go away without editing a maps light_environment itself to have a name and im not talking about mat_fullbright
for example on gm_bigcity turning up the sun brightness kinda remedies it but is there a better option
Dubya 22 Jun @ 1:28am 
This is a good addon and I love the way it looks but it is unfortunately too laggy for me.
Goobert :3 20 Jun @ 7:04pm 
@biocrab gm_construct, obviously
what's the map in the video
Xenthio  [author] 17 Jun @ 10:42pm 
you can just spawn the editor to enable in whenever
Ponyboy 17 Jun @ 7:39pm 
Are there certain console commands for turning csm on for one map
Xenthio  [author] 16 Jun @ 6:25pm 
can you link a screenshot?
EPICMAN 14 Jun @ 6:49pm 
This stopped working and made a weird no lighting bug even without any mods other than this enabled, please help:steamsad:
headcrab 14 Jun @ 5:14pm 
how do i change shadow quality
imed 13 Jun @ 2:24pm 
hope this doesnt tank my fps
Xenthio  [author] 10 Jun @ 11:38pm 
yeah its a hardware thing, you can force enable shadows with the following launch option

-force_vendor_id 0x10DE -force_device_id 0x1180
C²²H²⁸N²O 10 Jun @ 10:09pm 
running this on my thinkpad t450, shadows wont load?
a strange bug but i'll pass it off as my hardware.


Windows 10 64 bit
Intel i5-5300u @2.3 GHz
8 GBs of ram
Intel HD Graphics 5500 (128MB)
gmod is running at max graphics at 640 x 480
Xenthio  [author] 3 Jun @ 4:44am 
It should work on graphics cards that support gmod's DX9 mode
kedrovie_oreshki 2 Jun @ 2:38am 
можно вопрос,это будет работать на всех картах?
Felthead 1 Jun @ 1:11pm 
peak :steamhappy:
Goobert :3 1 Jun @ 2:16am 
I would love to see this mod ported to HL2
yunhaohku 30 May @ 1:00pm 
can you make this for hl2?
шашлындос 19 May @ 3:22am 
looks disgusting with stormfox shadows are not dissapearing in darkness.
Xenthio  [author] 17 May @ 6:50am 
@Creedani
Привет! Если тени исчезают, это значит, что Garry's Mod автоматически ограничил качество теней до "среднего", потому что считает, что ваш компьютер слишком старый для более высоких настроек (возможно, это также причина падения FPS — попробуйте "режим производительности", когда всё заработает).

Вы можете вручную обойти это ограничение, добавив в параметры запуска следующее:
"-force_vendor_id 0x10DE -force_device_id 0x1180"

После этого вы сможете зайти в раздел «Дополнительное видео» на вкладке «Видео» в настройках и установить «Качество теней» на «Высокое».
Bkerboy 16 May @ 7:53pm 
what the
Gurt 16 May @ 12:44am 
[Real CSM - Modern Lighting & Realistic Dynamic Shadows] lua/entities/edit_csm/shared.lua:1027: attempt to index field 'direction' (a nil value)
1. unknown - lua/entities/edit_csm/shared.lua:1027
miklouriel 9 May @ 12:20pm 
thanks man , it was weird because when i donwloaded it for the first time i did not have the map untill later said week, Keep rocking !
An_Unknown_Player[FIN] 7 May @ 9:56am 
That's just a source thing. Some props don't cast shadows, because of certain parameters within the model itself.
tritium 7 May @ 8:56am 
@Xenthio

yeah my memory is a little fuzzy but, for whatever reason, props don't cast shadows from the sun, but they do get darkened under shadows
Xenthio  [author] 5 May @ 3:53pm 
uhh, no? this shouldn't touch lamps.
tritium 5 May @ 8:30am 
did prop shadows get removed or something? when i shine a lamp into a fence there are no shadows
Xenthio  [author] 3 May @ 8:38pm 
I think it spoofs it into thinking its running on specific hardware yeah
SnabbSpelare 3 May @ 3:41pm 
One quick question — what exactly does -force_vendor_id 0x10DE -force_device_id 0x1180 do? Does it spoof an NVIDIA GPU (specifically a old GTX) to trick the engine into applying higher settings, similar to how Bethesda games adjust presets (Ultra/High/etc.) based on detected hardware? Or does it override and enforce a fixed settings regardless of actual specs? I'm looking into ways to force max out graphics quality in GMod.
Xenthio  [author] 3 May @ 3:06pm 
@SnabbSpelare glad to help
Xenthio  [author] 3 May @ 3:04pm 
@miklouriel it's a sample demo of a half-life 2 map tuned to have support for this addon. It's been in the addon for quite a very very long while now.
Xenthio  [author] 3 May @ 3:03pm 
@wings it means gmod thinks your computer is too old to support high shadows, but you can use these launch options to trick it into thinking it is.

-force_vendor_id 0x10DE -force_device_id 0x1180
miklouriel 3 May @ 3:13am 
idk why but this week or last, A random map called d1_trainstation_02_csm added itself to my maps without my permission or notification( its not serious but i'm curios as to why.), ik its this mod that just adds it out of nowhere because i already turned the rest off and pick and chose till i found the culprit, For those who don't know its the very first opening of half life 2, But i have no idea why it keeps adding itself whenever i activate this mod, This has never happened and i cant seem to get rid of it unless i turn off the mod. Is this new? Or does it come with it like a map starter, It doesn't come with its own photo for the map just grayed out.
wings 2 May @ 4:36pm 
can't change the shadow quality to high
SnabbSpelare 1 May @ 11:34am 
Thank you, MrsWormSweat & Xenthio, for the response! I appreciate it a lot!
So that is what -bouncefromnamed does? I have read the info from the VRAD via Hammer, but thought it was only for some lights or props; but it's also for all named, including from sun to lights? Thanks so much, thought that'd be worthless to add, but I'll add it alongside the other parameters.
fabiola_bright 1 May @ 10:36am 
So Realistic for me Thanks!
JubJub 30 Apr @ 6:18pm 
OOOHH
nevermind im dumb! I had to restart my game because the files werent properaly imported without restarting the game because its a server function mod.
JubJub 30 Apr @ 6:12pm 
Its a good mod, but it does not work well with the source engine. its not my computer i have one of the best gaming laptops (I literally looked it up)
Xenthio  [author] 23 Apr @ 8:06pm 
the old custom vrad is no longer needed as the change it had made was merged into the latest version of gmod, you can use vanilla gmod's vrad and use the compile option "-bouncefromnamed" instead now