Garry's Mod

Garry's Mod

3,625 ratings
Source Shadows
7
5
14
9
4
6
6
5
5
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Scenic, Realism
File Size
Posted
Updated
23.966 KB
7 Dec, 2024 @ 3:18pm
1 May @ 3:39pm
2 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.1.0
See change notes.

Uploaded with gmpublisher[github.com]
Popular Discussions View All (4)
31
16 hours ago
PINNED: Bugs (now official :D)
Spacey
1
15 Jun @ 12:13pm
Dynamic shadows cause issues with displacements
The Celestial
0
23 Mar @ 9:20am
shadow bug
kirillkorge2024
348 Comments
Omega Query 12 hours ago 
@dr.bonk I have the same thing going on, except... I simply have them all downloaded; Real CSM, because it doesn't open natively as you can simply spawn its editor and it activates Real CSM when you WANT it, rather than being forced. Source Shadows, my default choice as it simply upgrades the default shadows to be even better than simple vanilla ones. Blend Light and Soft Lamps; both do extremely similar things, but one is more homebrewed than the other and is usually capable of being captured via poster without any of the extra steps needed for Soft Lamps. HOWEVER, Soft Lamps become much more accessible when combined with the 4k screenshot taker. It has built in options to use Anti-aliasing via Super-DOF with the click of a button when taking high-resolution screenshots, AND has a nifty option to manually set your FOV for images rather than having to mess with it via right-click like the normal camera.
Johnston 20 hours ago 
Prevented crash! pRenderable is NULL
dr.bonk 22 Jul @ 6:07pm 
nah bro i have a shit pc and i was still at 125fps i dont know what you guys are talking about
but i switched to using Real CSM
Alexthatartkid 18 Jul @ 6:51pm 
This works but the shadows only come from my flashlight
wasteofskin 12 Jul @ 6:51pm 
player dynamic shadow appears as a missing texture rectangle
Material decals/rendershadow has bad reference count -164 when being bound (x2)
BigDoinks 10 Jul @ 3:34am 
I am getting crashes when using..
NyanCatGamer02 9 Jul @ 3:12pm 
the fps can be fixed with a few commands:
r_flashlightdepthres 512;
r_projectedtexture_filter 0.2;
mat_slopescaledepthbias_shadowmap 2;
mat_depthbias_shadowmap 0.000005;
gooncrab 6 Jul @ 2:00am 
this game has never crashed my pc wtf yall talkin about?
ColdCristal 28 Jun @ 10:40am 
1 fps
Dick Biggims 27 Jun @ 6:21pm 
If there's a way to have shadows not faze through walls this mod would b perfect.