Garry's Mod

Garry's Mod

Real CSM - Modern Lighting & Realistic Dynamic Shadows
2,026 Comments
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
mrswormsweat 23 Apr @ 7:51pm 
SnabbSpelare, both of Xenthio's executables vrad.exe and vrad_dll.dll are 32-bit as the executable format is PE32 (32-bit) instead of PE32+ (64-bit).
SnabbSpelare 23 Apr @ 8:31am 
Xenthio, since I'm using Hammer++ 64-bit and the 64-bit Garry's Mod Chrome Beta branch, the custom vrad you provided seems to be 32-bit (speculation). Could you consider providing a 64-bit version of the vrad to ensure compatibility with 64-bit Garry's Mod Hammer++ version, or perhaps suggest a method for using the 32-bit vrad alongside the 64-bit config in 64-bit hammer++??

Tysm
SnabbSpelare 23 Apr @ 7:28am 
dithered is the word im looking for i think.
SnabbSpelare 23 Apr @ 7:28am 
Really love this addon, but a few things could be tweaked:

There's a shadow issue—some brushes have a missing or bleeding shadow at the base. Hard to explain, only a video or screenshot would show it right. I've also noticed shadows under NPCs faces like their nose shadows look

Would be nice if it disabled itself when there's no env_sun.

Quick question—any chance of something similar for indoor lighting? Like an equivalent to light entities?
Goobert :3 21 Apr @ 7:56am 
@KPCostigan turn shadows to high
KPCostigan 15 Apr @ 3:43pm 
but when I spawn it in it just makes a little bit brighter
KPCostigan 15 Apr @ 3:42pm 
it will not work for me at all. I would just put the CSM in my game and there is no light from the sun
Xenthio  [author] 11 Apr @ 3:10am 
I can't tell who is and isn't joking about sun leaking anymore lmao
usaliuss 11 Apr @ 2:57am 
my sun is leaking
Xenthio  [author] 10 Apr @ 4:50pm 
Oh, glad you figured it out!

if the "High" option doesn't exist, you can use these steam launch options to make it show up:
"-force_vendor_id 0x10DE -force_device_id 0x1180"
ADAR 10 Apr @ 5:56am 
Hello author, I think I know why, I didn't read your module introduction properly, because I didn't open "The Highest Level of Shadow", but I don't know why, my shadow level is not "high", but still thank you for your reply, thank you!
Xenthio  [author] 10 Apr @ 3:41am 
Do you get any errors in the game console?
ADAR 9 Apr @ 4:10pm 
Hello author, when I use Real CSM - Modern Lighting & Realistic Dynamic Shadows, I find that it doesn't work at all. I would like to ask why is that?
_podzm1r 6 Apr @ 10:36am 
the sun is leaking gng💔🥀
Bkerboy 30 Mar @ 5:56pm 
sun******************************
Яйца мармока 29 Mar @ 11:07am 
the cum is leaking
afterglow 26 Mar @ 4:39am 
the sun is leaking
gooning... 24 Mar @ 4:20am 
the sun is leaking
Bor认为自己是Bro 21 Mar @ 9:54pm 
the sun is leaking
prince of names 19 Mar @ 1:31pm 
I made your mom leak-
Bkerboy 17 Mar @ 8:28am 
The sun is leaking
Lily White 16 Mar @ 7:22pm 
the sun is leaking