Garry's Mod

Garry's Mod

Real CSM - Modern Lighting & Realistic Dynamic Shadows
2,053 Comments
爱笑的佐巴扬 Jul 31 @ 11:51pm 
[Real CSM - Modern Lighting & Realistic Dynamic Shadows] lua/entities/edit_csm/shared.lua:502: attempt to call method 'Initialize' (a nil value)
1. func - lua/entities/edit_csm/shared.lua:502
2. unknown - lua/includes/extensions/net.lua:34
DienoSaurik Jul 22 @ 12:16pm 
Xenthio, maybe you can add viewmodel shadows?
C1TY Jul 16 @ 2:13pm 
@Xenthio hes probably trying to say that the CSM doesnt work hold on let me try help him out
@moiloco1910 whats not working, did you set shadows settings to high did you test it out on gm_construct to see if it properly works?
Xenthio  [author] Jul 15 @ 3:35pm 
@moiloco1910 what's broken?
moiloco1910 Jul 15 @ 1:21am 
make it work!:steamfacepalm:
mel gibson's oldest soldier Jul 11 @ 12:15pm 
real chainsaw man
Xenthio  [author] Jul 9 @ 2:39am 
pretty sure what that addon does is actually built into gmod with a console command
Xenthio  [author] Jul 8 @ 2:44am 
what do you mean source shadows?
does this support source shadows or no
How do i explain this Jun 26 @ 10:46am 
Real ConshaSuMare
dinguscool4 Jun 25 @ 6:34pm 
annoying that it only has shadows from the sun. other then that, okay.
yume nario Jun 24 @ 9:44pm 
yea sadly recompilings the best option but its still peak
EPICMAN Jun 23 @ 5:22pm 
I fixed it by putting the shadow quality high because I saw the discussion, thanks :steamthumbsup::steamhappy:
Xenthio  [author] Jun 22 @ 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] Jun 22 @ 10:05pm 
@lavbubl, nope. the best option is recompiling the map.
Unfortunate Jun 22 @ 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.
yume nario Jun 22 @ 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 Jun 22 @ 1:28am 
This is a good addon and I love the way it looks but it is unfortunately too laggy for me.
Goobert :3 Jun 20 @ 7:04pm 
@biocrab gm_construct, obviously
what's the map in the video
Xenthio  [author] Jun 17 @ 10:42pm 
you can just spawn the editor to enable in whenever
Ponyboy Jun 17 @ 7:39pm 
Are there certain console commands for turning csm on for one map
Xenthio  [author] Jun 16 @ 6:25pm 
can you link a screenshot?
EPICMAN Jun 14 @ 6:49pm 
This stopped working and made a weird no lighting bug even without any mods other than this enabled, please help:steamsad:
headcrab Jun 14 @ 5:14pm 
how do i change shadow quality
imed Jun 13 @ 2:24pm 
hope this doesnt tank my fps
Xenthio  [author] Jun 10 @ 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 Jun 10 @ 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] Jun 3 @ 4:44am 
It should work on graphics cards that support gmod's DX9 mode
kedrovie_oreshki Jun 2 @ 2:38am 
можно вопрос,это будет работать на всех картах?
Felthead Jun 1 @ 1:11pm 
peak :steamhappy:
Goobert :3 Jun 1 @ 2:16am 
I would love to see this mod ported to HL2
yunhaohku May 30 @ 1:00pm 
can you make this for hl2?
шашлындос May 19 @ 3:22am 
looks disgusting with stormfox shadows are not dissapearing in darkness.
Xenthio  [author] May 17 @ 6:50am 
@Creedani
Привет! Если тени исчезают, это значит, что Garry's Mod автоматически ограничил качество теней до "среднего", потому что считает, что ваш компьютер слишком старый для более высоких настроек (возможно, это также причина падения FPS — попробуйте "режим производительности", когда всё заработает).

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

После этого вы сможете зайти в раздел «Дополнительное видео» на вкладке «Видео» в настройках и установить «Качество теней» на «Высокое».
Bkerboy May 16 @ 7:53pm 
what the
Gurt May 16 @ 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 May 9 @ 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] May 7 @ 9:56am 
That's just a source thing. Some props don't cast shadows, because of certain parameters within the model itself.
tritium May 7 @ 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] May 5 @ 3:53pm 
uhh, no? this shouldn't touch lamps.
tritium May 5 @ 8:30am 
did prop shadows get removed or something? when i shine a lamp into a fence there are no shadows
Xenthio  [author] May 3 @ 8:38pm 
I think it spoofs it into thinking its running on specific hardware yeah
SnabbSpelare May 3 @ 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] May 3 @ 3:06pm 
@SnabbSpelare glad to help
Xenthio  [author] May 3 @ 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] May 3 @ 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 May 3 @ 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 May 2 @ 4:36pm 
can't change the shadow quality to high