Garry's Mod

Garry's Mod

4,031 ratings
Source Shadows
7
5
14
9
4
6
6
6
6
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
File Size
Posted
Updated
25.443 KB
7 Dec, 2024 @ 3:18pm
31 Aug @ 8:47pm
3 Change Notes ( view )

Subscribe to download
Source Shadows

Description
Check out my other addon, gm_adit!
About
Better shadow control!

Source Shadows gives you control over the Source engine's dynamic render-to-texture shadows (RTT). While many maps overlook shadow settings, Source Shadows lets you create custom settings for each map, with a few extra options. You can adjust the usual settings like shadow color, shadow distance, and shadow direction. Plus, you can tweak additional settings to make shadows follow the nearest world light and set the shadow direction based on the dynamic sun of the map.

Source Shadows also provides a couple of client settings, which allow you to toggle first person shadows, door shadows, shadow quality, and more.

Compared to other shadow addons, Source Shadows is incredibly universal, not taxing, and easily changeable per-map.



Credit
Map in the photos: pt_shadow
Some parts of the code were based off of Shadow Editor

Version: 1.2.0
See change notes.

Uploaded with gmpublisher[github.com]
Popular Discussions View All (5)
35
18 Oct @ 3:24am
PINNED: Bugs (now official :D)
Spacey
1
15 Jun @ 12:13pm
Dynamic shadows cause issues with displacements
The Celestial
0
23 Nov @ 2:35pm
Known Compatibility Issues
Bubbiboor
374 Comments
Xactive 22 Nov @ 1:36am 
The sun is leaking:steamhappy:
makorochki 15 Nov @ 10:36am 
─────▄───▄
─▄█▄─█▀█▀█─▄█▄
▀▀████▄█▄████▀▀
─────▀█▀█▀
Omega Query 25 Oct @ 12:55pm 
Also it's best to assume positively than negatively; ResolutionBlue from what I remember, has stated they're not really working on anything new in terms of addons, but when bugs might show up, they'll iron them out. Not to say you're being aggressive in terms of accusatory statements, but it's best to just relax and maybe wait for answers sometimes. Cheers, my friend.
Omega Query 25 Oct @ 12:52pm 
@bruhhh I can answer your question on why they don't use it. It's simple. Pre-2007 game titles like Half Life 2, CS:S and DOD:S were built on earlier branches of the Source Engine that lacked native RTT shadow support. Retrofitting would require significant engine rewrites. RTT shadows are more GPU-intensive. Older titles were optimized for mid-2000s hardware, where dynamic shadows could cause performance drops that honestly, did not need to be a reality, especially for their already successful titles. Also not to mention, Many early Source games relied on baked lighting and Radiosity Normal Mapping for soft shadows. Adding RTT shadows could clash with the established visual style. However there IS one exception being Team Fortress 2 that uses RTT shadows now. Other titles after 2007 would be like Left 4 Dead 2, Portal 2 and even some non-Valve titles like No More Room In Hell, Garry's Mod, Black Mesa and even lesser-known games like Estranged: Act I.
bruhhh 25 Oct @ 1:16am 
Why doesn't bro respond to my question
t5d6k3 23 Oct @ 10:10am 
Why does this not show the weapon shadow when first person shadows are on?
Judge 21 Oct @ 3:28pm 
i have both this mod and CSM enabled, for some reason i have to disable then re-enable this mod's shadows every time i load a world for them to show up alongside CSM. CSM gets rid of shadows for every light source besides sunlight, so i pair this mod with CSM because it brings back those indoor lights that CSM removes.

if possible, could you make this mod compatible with CSM?
ResolutionBlue  [author] 19 Oct @ 8:23am 
@Goggles, there is unfortunately no shadow angle limit, so the best fix for this is to increase the “Shadow Shorten Factor” in the client settings.
Goggles 19 Oct @ 6:03am 
is there a way to fix the shadow looking super long in certain angles?
JusticeBoomer 18 Oct @ 3:20am 
Nevermind, I've fixed my problem by defaulting all the addon's shadow settings and then switching the shadows in the graphics setting to low and then high again, which fixed the problem I was having!:steamhappy: