Creating a Silhouette
Quote from mintman on November 13, 2007, 8:58 pmI'm attempting to create some atmosphere for a map which I have, and I would really like to cast a silhouette of a model against a wall. I've tried different lights and I can't seem to get the right combination.
First, the model seems to disappear, I'm guessing since it can't be seen and isn't accessible. Second, when I move the model into view the shadow only casts below it.
Maybe Source doesn't support this and I just don't realize it.
Anyone have a solution?
I'm attempting to create some atmosphere for a map which I have, and I would really like to cast a silhouette of a model against a wall. I've tried different lights and I can't seem to get the right combination.
First, the model seems to disappear, I'm guessing since it can't be seen and isn't accessible. Second, when I move the model into view the shadow only casts below it.
Maybe Source doesn't support this and I just don't realize it.
Anyone have a solution?
Quote from Shmitz on November 13, 2007, 9:02 pmJust so I'm straight on what you're trying to do: You want a shadow of a prop cast on a wall, but don't want the prop to be visible?
Just so I'm straight on what you're trying to do: You want a shadow of a prop cast on a wall, but don't want the prop to be visible?
Quote from mintman on November 13, 2007, 9:25 pmNot quite. I guess I should have been clearer. The prop's silhouette will be visible through glass. The prop, however, will be obscured by the walls surrounding this glass. The prop could be visible or invisible, I don't care; the player won't be able to see around the corner where the object rests. I just care about making a silhouette.
Not quite. I guess I should have been clearer. The prop's silhouette will be visible through glass. The prop, however, will be obscured by the walls surrounding this glass. The prop could be visible or invisible, I don't care; the player won't be able to see around the corner where the object rests. I just care about making a silhouette.
Quote from Shmitz on November 13, 2007, 10:11 pmSo you don't want a "hi I'm a physical object that's so backlit you can't see any detail" silhouette, but a "hi here's my shadow falling onto the plane of a translucent surface" type of silhouette?
I can think of ways to accomplish the former, but the latter would either take some really clever lighting tricks that I don't know, or a custom glass material.
So you don't want a "hi I'm a physical object that's so backlit you can't see any detail" silhouette, but a "hi here's my shadow falling onto the plane of a translucent surface" type of silhouette?
I can think of ways to accomplish the former, but the latter would either take some really clever lighting tricks that I don't know, or a custom glass material.
Quote from Crooked Paul on November 13, 2007, 10:21 pmCorrect me if I'm wrong, but I understood the situation differently. Seems to me that he wants an object (which is blocked from view by level geometry) to cast a defined shadow on a wall, and for that shadow and that wall to be visible to the player through glass. My understanding was that the shadow would not be cast directly on the glass.
But I could be mistaken.
Correct me if I'm wrong, but I understood the situation differently. Seems to me that he wants an object (which is blocked from view by level geometry) to cast a defined shadow on a wall, and for that shadow and that wall to be visible to the player through glass. My understanding was that the shadow would not be cast directly on the glass.
But I could be mistaken.
Quote from Guitar on November 13, 2007, 10:53 pmWould a spot light(light_spot) work? I made a map with a stoplight and it cast a shadow of some of the walls of my map. Im not sure if it works with objects..
Would a spot light(light_spot) work? I made a map with a stoplight and it cast a shadow of some of the walls of my map. Im not sure if it works with objects..
Quote from Artesia on November 13, 2007, 11:09 pmmy suggestion, fake it...
make a new texture for the surface in question, with the silhouette on the texture...
im not sure how hard this would be in hammer, but it would be easy in 3dsmax :s
(although there are better ways in 3dsmax, ie a shadowmap)could it be possible to make a texture that is transparent in some places, and where its not transparent, it recieves no light? if so you could make it transparent on the edges, the center shaped like the object, basically having a brush that would be a solid black (or if you made the center a little transparent it would only darken) that you could place 1 unit above where you wanted, cast a light at it...
again ive never done anything like this in hammer, im only suggesting things that work in other applications
my suggestion, fake it...
make a new texture for the surface in question, with the silhouette on the texture...
im not sure how hard this would be in hammer, but it would be easy in 3dsmax :s
(although there are better ways in 3dsmax, ie a shadowmap)
could it be possible to make a texture that is transparent in some places, and where its not transparent, it recieves no light? if so you could make it transparent on the edges, the center shaped like the object, basically having a brush that would be a solid black (or if you made the center a little transparent it would only darken) that you could place 1 unit above where you wanted, cast a light at it...
again ive never done anything like this in hammer, im only suggesting things that work in other applications
Quote from Crooked Paul on November 13, 2007, 11:49 pmOr, if the problem is that static geometry casts shadows and props don't, then wouldn't making the prop into static geometry fix the problem? The silhouette doesn't have to move, does it?
Or, if the problem is that static geometry casts shadows and props don't, then wouldn't making the prop into static geometry fix the problem? The silhouette doesn't have to move, does it?
Quote from mintman on November 14, 2007, 12:48 amI must suck at explaining myself. Paul is right.
It doesn't have to move, so how would I go about making a model into static geometry? This would probably be easier than going about making a custom texture and all.
I must suck at explaining myself. Paul is right.
It doesn't have to move, so how would I go about making a model into static geometry? This would probably be easier than going about making a custom texture and all.