Garry's Mod
Real CSM - Modern Lighting & Realistic Dynamic Shadows
2.039 commenti
Xenthio  [autore] 12 ore fa 
@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  [autore] 13 ore fa 
@lavbubl, nope. the best option is recompiling the map.
Unfortunate 13 ore fa 
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 14 ore fa 
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 giu, ore 1:28 
This is a good addon and I love the way it looks but it is unfortunately too laggy for me.
Goobert :3 20 giu, ore 19:04 
@biocrab gm_construct, obviously
Biocrab 20 giu, ore 14:05 
what's the map in the video
Xenthio  [autore] 17 giu, ore 22:42 
you can just spawn the editor to enable in whenever
Ponyboy 17 giu, ore 19:39 
Are there certain console commands for turning csm on for one map
Xenthio  [autore] 16 giu, ore 18:25 
can you link a screenshot?
EPICMAN 14 giu, ore 18:49 
This stopped working and made a weird no lighting bug even without any mods other than this enabled, please help:steamsad:
headcrab 14 giu, ore 17:14 
how do i change shadow quality
imed 13 giu, ore 14:24 
hope this doesnt tank my fps
Xenthio  [autore] 10 giu, ore 23:38 
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 giu, ore 22:09 
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  [autore] 3 giu, ore 4:44 
It should work on graphics cards that support gmod's DX9 mode
kedrovie_oreshki 2 giu, ore 2:38 
можно вопрос,это будет работать на всех картах?
Felthead 1 giu, ore 13:11 
peak :steamhappy:
Goobert :3 1 giu, ore 2:16 
I would love to see this mod ported to HL2
yunhaohku 30 mag, ore 13:00 
can you make this for hl2?
шашлындос 19 mag, ore 3:22 
looks disgusting with stormfox shadows are not dissapearing in darkness.
Xenthio  [autore] 17 mag, ore 6:50 
@Creedani
Привет! Если тени исчезают, это значит, что Garry's Mod автоматически ограничил качество теней до "среднего", потому что считает, что ваш компьютер слишком старый для более высоких настроек (возможно, это также причина падения FPS — попробуйте "режим производительности", когда всё заработает).

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

После этого вы сможете зайти в раздел «Дополнительное видео» на вкладке «Видео» в настройках и установить «Качество теней» на «Высокое».
Bkerboy 16 mag, ore 19:53 
what the
Gurt 16 mag, ore 0:44 
[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 mag, ore 12:20 
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 mag, ore 9:56 
That's just a source thing. Some props don't cast shadows, because of certain parameters within the model itself.
tritium 7 mag, ore 8:56 
@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  [autore] 5 mag, ore 15:53 
uhh, no? this shouldn't touch lamps.
tritium 5 mag, ore 8:30 
did prop shadows get removed or something? when i shine a lamp into a fence there are no shadows
Xenthio  [autore] 3 mag, ore 20:38 
I think it spoofs it into thinking its running on specific hardware yeah
SnabbSpelare 3 mag, ore 15:41 
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  [autore] 3 mag, ore 15:06 
@SnabbSpelare glad to help
Xenthio  [autore] 3 mag, ore 15:04 
@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  [autore] 3 mag, ore 15:03 
@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 mag, ore 3:13 
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 mag, ore 16:36 
can't change the shadow quality to high
SnabbSpelare 1 mag, ore 11:34 
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 mag, ore 10:36 
So Realistic for me Thanks!
JubJub 30 apr, ore 18:18 
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, ore 18:12 
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  [autore] 23 apr, ore 20:06 
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, ore 19:51 
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, ore 8:31 
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, ore 7:28 
dithered is the word im looking for i think.
SnabbSpelare 23 apr, ore 7:28 
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, ore 7:56 
@KPCostigan turn shadows to high
KPCostigan 15 apr, ore 15:43 
but when I spawn it in it just makes a little bit brighter
KPCostigan 15 apr, ore 15:42 
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  [autore] 11 apr, ore 3:10 
I can't tell who is and isn't joking about sun leaking anymore lmao
usaliuss 11 apr, ore 2:57 
my sun is leaking