Source SDK

Source SDK

Excursion Feb 4, 2016 @ 4:32pm
shadow_control? Is this possible.
Here's my issue: http://steamcommunity.com/sharedfiles/filedetails/?id=616141807

No matter how I move the "shadow_control" or "light_env," I cannot seem to get the shadow from the bars to reflect off the wall... please help

Last edited by Excursion; Feb 4, 2016 @ 4:32pm
< >
Showing 1-4 of 4 comments
Rectus Feb 4, 2016 @ 11:22pm 
Those bars are a a prop_static, right? Static props cast lightmap shadows, while shadow_control only affects dynamic shadows.

By default the compiler uses the prop_staticss collision mesh to generate the shadows, so you need to compile VRAD with the -StaticPropPolys option for use the actual model.
Werewolf™ Feb 5, 2016 @ 2:13am 
You will probably also want to increase the lightmap density on the surface where the shadows land so that you get better defined shadows.
bundestrojaner Feb 5, 2016 @ 8:10am 
For an easier solution just use a brush with the block light texture around the bars to replicate this effect
Excursion Feb 5, 2016 @ 3:25pm 
Originally posted by Rectus:
Those bars are a a prop_static, right? Static props cast lightmap shadows, while shadow_control only affects dynamic shadows.

By default the compiler uses the prop_staticss collision mesh to generate the shadows, so you need to compile VRAD with the -StaticPropPolys option for use the actual model.

♥♥♥♥♥♥♥ genius. I didn't know dynamics can't cast shadows without shadow_control, but the prop_static change did the trick! Thanks :)
http://steamcommunity.com/sharedfiles/filedetails/?id=616910218
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Feb 4, 2016 @ 4:32pm
Posts: 4