Dynamic shadows?
Posted May 08, 2011
I can't get dynamic shadows working. There has to be a way, because the campaign had them multiple times. How do I do it? I tried to copy it from the original levels but I didn't succeed. I tried using enV_projectedtexture, light_dynamic and spotlights. None of them seem to produce any light at all. Only the standard point lights.
Registered users don’t see ads!
Register now!
Posted May 08, 2011
Replied
1 hour
later
I have used env_projectedtexutre in my portal 2 test map and it works, keep in mind I have heard you can only have 1 active a time. I have not tried to have more than 1 so far. It projects a faint spot light and anything in front of it will cast dynamic shadows. Make sure to turn shadows on in the properties though. The properties of the entity that is.
Posted May 08, 2011
Replied
5 minutes
later
Also there's a brightness factor or multiplier that you may want to turn up, the default (1.0) is pretty dim.
Have a nice day,
~Sidneys1
Posted May 08, 2011
Replied
1 hour
later
to make the shadow you have to put something in front of the projected texture that casts a shadow
Registered users don’t see ads!
Register now!
Posted May 09, 2011
Replied
12 hours
later
Thanks, now it works. Turns out, the default brightness (1) is way too dim. I set it to 50 now, and put it behind an observation glass window.