Props not casting shadows

Props not casting shadows

Re: Props not casting shadows Posted by ishbog on Wed Apr 13th 2005 at 2:43am
ishbog
86 posts
Posted 2005-04-13 2:43am
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
well, to be breif, none of the physics props drop shadows to the ground in my map.

why? they do in other maps, is it a compile error? is it the type of lights? i generally use light_spot, except for fires, but nothing drops a shadow to the ground!
Re: Props not casting shadows Posted by DrGlass on Wed Apr 13th 2005 at 3:48am
DrGlass
1825 posts
Posted 2005-04-13 3:48am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
be sure that the models have 'cast shadows' set to 'yes'

if thats not the problem, post your compile log
Re: Props not casting shadows Posted by ishbog on Wed Apr 13th 2005 at 5:13am
ishbog
86 posts
Posted 2005-04-13 5:13am
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
its an hl2 map, and these are prop_physics. my large static props do cast shadows tho. im talking boxes and barrels you pick up with the grav gun.

i see no property that says cast shadow... my compile log -- will post tomorrow, but i know i have that 'zero child patch' or whatever error. could that be causing it?

:kitty: :kitty: :kitty: eeheeheeheeeee....squirt.
Re: Props not casting shadows Posted by Orpheus on Wed Apr 13th 2005 at 9:29am
Orpheus
13860 posts
Posted 2005-04-13 9:29am
Orpheus
member
13860 posts 2024 snarkmarks Registered: Aug 26th 2001 Occupation: Long Haul Trucking Location: Long Oklahoma - USA
for some its in the engine. for instance, there are weapons that cast shadows and weapons that do not when placed above the ground say, on a grate.

I think that if you are wanting this to happen in your map, you need to look in all the others to see if it has been accomplished yet. I am betting that you are trying to do what cannot be.
Re: Props not casting shadows Posted by ishbog on Wed Apr 13th 2005 at 1:05pm
ishbog
86 posts
Posted 2005-04-13 1:05pm
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
ohh, no, it works in all my other maps. default properties on everything, in one map, using the grav gun with a barrel lets that barrel cast a shadow under it, dynamicaly. :kitty: in the map im working on, it doesn't do that. could it be my ambient light is a bit too high?
Re: Props not casting shadows Posted by DrGlass on Wed Apr 13th 2005 at 4:19pm
DrGlass
1825 posts
Posted 2005-04-13 4:19pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
are you using the same game? like did it work for HL2 and not HL2DM?
Re: Props not casting shadows Posted by ishbog on Wed Apr 13th 2005 at 4:21pm
ishbog
86 posts
Posted 2005-04-13 4:21pm
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
yes, same game, same compile, same editor, same EVERYTHING. ???????
Re: Props not casting shadows Posted by DrGlass on Thu Apr 14th 2005 at 2:48am
DrGlass
1825 posts
Posted 2005-04-14 2:48am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
i have no idea, make a test map and see if it still works, and double check your old map
Re: Props not casting shadows Posted by Tactii on Thu Apr 14th 2005 at 3:45am
Tactii
15 posts
Posted 2005-04-14 3:45am
Tactii
member
15 posts 12 snarkmarks Registered: Jan 10th 2005 Occupation: Student Location: United States of America
Try adding a shadow_control entity anywhere in your map, and specify
the angle, distance, and color of the shadows. I thought it would
add some default shadows if you didn't have a shadow_control, but maybe
something is breaking it here..
Re: Props not casting shadows Posted by ishbog on Thu Apr 14th 2005 at 4:46am
ishbog
86 posts
Posted 2005-04-14 4:46am
ishbog
member
86 posts 19 snarkmarks Registered: Dec 7th 2004 Occupation: web designer/game developer Location: usa
i did the test map they worked.

so, i e-mailed one of my Valve contacts (Aaron Barber), and he suggested using a shadow_control entity. works GREAT! just set the angles and your good!

tacti had the right answer, thanks!