Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design

Reply
 
Thread Tools Display Modes
Old 03-03-2008, 03:45 PM   #1
Lawnmower233
 
Join Date: May 2005
Reputation: 0
Posts: 511
Angry Screwed-up shadows



What's up with the shadows?!
Lawnmower233 is offline  
Reply With Quote
Old 03-03-2008, 04:14 PM   #2
Lawnmower233
 
Join Date: May 2005
Reputation: 0
Posts: 511


Had to disable shadows. I thought the Orange Box Engine was supposed to have proper lighting and shadowing now. Seems like the same old same old.
Lawnmower233 is offline   Reply With Quote
Old 03-03-2008, 05:23 PM   #3
benjy355
 
Join Date: Dec 2005
Reputation: 0
Posts: 144
I don't think it was the orange boxes fault, what kind of things did you create to get the plants?
benjy355 is offline   Reply With Quote
Old 03-03-2008, 07:39 PM   #4
Short_Circuit
 
 
 
Join Date: Oct 2007
Reputation: 33
Posts: 231
Quote:
Originally Posted by benjy355 View Post
I don't think it was the orange boxes fault, what kind of things did you create to get the plants?
Those appear to be standard static props.
Short_Circuit is offline   Reply With Quote
Old 03-03-2008, 10:01 PM   #5
Eaglebird
 
Guest
Posts: n/a
Quote:
Originally Posted by Lawnmower233 View Post


What's up with the shadows?!
See son, when light hits an object, it blocks the light that hits it, and so there's a dark spot behind the object, opposite the direction of the light's casting.
  Reply With Quote
Old 03-03-2008, 11:14 PM   #6
PuddingWagon
 
Join Date: Dec 2004
Reputation: 144
Posts: 986
Source thinks that those objects (and all others) are opaque, so it casts a shadow perfectly correctly. It's the same on the rubbish models (the packs), they get shadows below them because that is what their collision model corresponds to.

So just turn off the shadows for those props, problem solved. Or make the material spawn those props, then they won't have shadows.
PuddingWagon is offline   Reply With Quote
Old 03-04-2008, 01:40 AM   #7
Lawnmower233
 
Join Date: May 2005
Reputation: 0
Posts: 511
Quote:
Originally Posted by Eaglebird View Post
See son, when light hits an object, it blocks the light that hits it, and so there's a dark spot behind the object, opposite the direction of the light's casting.
No need to be so sardonic. If you were to show that photo to anyone they'd tell you the shadows were extremely disproportionate compared to the object that was casting them. So shush.
Lawnmower233 is offline   Reply With Quote
Old 03-04-2008, 01:50 AM   #8
Kev_Boy
 
Join Date: Aug 2004
Reputation: 13
Posts: 659
It's the prop's fault, it has no collision model I think so it just takes its bounding box (outer edges of the model) and casts a box shadow.
Kev_Boy is offline   Reply With Quote
Old 03-04-2008, 02:00 AM   #9
Snipergen
 
Join Date: Sep 2007
Reputation: 14
Posts: 486
yeah its just some plains, and source is getting old. Valve better is working on a new engine after ep3!
Crysis just casts shadows with an alpha channel to create nice shadowed grass etc... ding ding
Snipergen is offline   Reply With Quote
Old 03-04-2008, 02:09 AM   #10
Kalenzo53
 
Join Date: Nov 2007
Reputation: 2
Posts: 484
This is a good example of how you can't rely on the tech to do the work. You have to inspect every scene to make sure it looks right and make any adjustments or work arounds needed.
Kalenzo53 is offline   Reply With Quote
Old 03-04-2008, 08:38 AM   #11
AirWolf
 
Join Date: Oct 2003
Reputation: 1
Posts: 102
I don't know if this will help but try adding this to your vrad command line:

-staticproppolys -staticproplighting -textureshadows

If you are using the EP2 engine, this is suppose to create shadows based on the alpha textures. I haven't tried this myself but it may work for you.
AirWolf is offline   Reply With Quote
Old 03-05-2008, 12:05 AM   #12
Lawnmower233
 
Join Date: May 2005
Reputation: 0
Posts: 511
Quote:
Originally Posted by Kalenzo53 View Post
This is a good example of how you can't rely on the tech to do the work. You have to inspect every scene to make sure it looks right and make any adjustments or work arounds needed.
True true.

Quote:
Originally Posted by AirWolf View Post
I don't know if this will help but try adding this to your vrad command line:

-staticproppolys -staticproplighting -textureshadows

If you are using the EP2 engine, this is suppose to create shadows based on the alpha textures. I haven't tried this myself but it may work for you.
Nice. Seems like it's worth a try.
Lawnmower233 is offline   Reply With Quote
Old 03-05-2008, 11:10 AM   #13
AirWolf
 
Join Date: Oct 2003
Reputation: 1
Posts: 102
Quote:
Originally Posted by Lawnmower233 View Post
Nice. Seems like it's worth a try.
Be sure to post a pic when you compile with those vrad options. I'd be interested in seeing how your shadows turn out. NOTE: You may need to change your lightmaps to 1 in order to get the shadows more defined.
AirWolf is offline   Reply With Quote
Old 03-06-2008, 02:40 AM   #14
Lawnmower233
 
Join Date: May 2005
Reputation: 0
Posts: 511
Quote:
Originally Posted by AirWolf View Post
Be sure to post a pic when you compile with those vrad options. I'd be interested in seeing how your shadows turn out. NOTE: You may need to change your lightmaps to 1 in order to get the shadows more defined.
Ok. Sure. I'll do it at the weekend and report back.
Lawnmower233 is offline   Reply With Quote
Old 03-06-2008, 07:54 AM   #15
Kalenzo53
 
Join Date: Nov 2007
Reputation: 2
Posts: 484
I'm quivering with anticipation!

It would look cool if that works.
Kalenzo53 is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Tool Discussions > Source Level Design


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 01:22 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2014, All Rights Reserved.