No shadows?

No shadows?

Re: No shadows? Posted by Lewis on Thu Aug 14th 2008 at 3:52pm
Lewis
1 post
Posted 2008-08-14 3:52pm
Lewis
member
1 post 0 snarkmarks Registered: Aug 14th 2008
Recently started mapping for Half-Life 2 again, but I have a problem. When I compile and launch my maps, none of the entities are casting shadows. Props, NPCs, everything - totally shadowless. Can't see any problems at all with the compile, and all the lighting appears to be functioning perfectly. Don't understand it at all. Any ideas?
Re: No shadows? Posted by ReNo on Thu Aug 14th 2008 at 8:52pm
ReNo
5457 posts
Posted 2008-08-14 8:52pm
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Post the contents of your compile log and we should be able to help. It may be that you've got a leak, which will remove all your lighting from everything. You'll find your compile log as <mapname>.log in your maps folder.

If you're certain you don't have a leak, then in the case of some entities (NPCs, players, anything dynamic) it could be down to not having a shadow_control entity. Toss one of those in if you haven't already. Also make sure that it uses a POSITIVE pitch in its angles. The source engine isn't very consistent with pitches, as sometimes (light_environment) a negative value points downward, while other times it points up. Something like 80 315 0 would be a good place to start.