2 registered members (AndrewAMD, alibaba),
1,184
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Shadow in doorway
#390450
12/30/11 17:04
12/30/11 17:04
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
OP
Senior Expert
|
OP
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
Hi, I want to make a proper shadow from a door which is model.. I can't even describe the problem, so take a look at the picture: How do I fix this? Any ideas are welcome! Thank you.
|
|
|
Re: Shadow in doorway
[Re: 3run]
#390452
12/30/11 17:18
12/30/11 17:18
|
chris_oat
Unregistered
|
chris_oat
Unregistered
|
What exactly is the problem? the wall around the doorway is a block, right? if you want to scale the shadow you can scale down the texture on the floor. Try 0.100 to see better results.
|
|
|
Re: Shadow in doorway
[Re: 3run]
#390531
01/01/12 12:01
01/01/12 12:01
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Hmm, does the door 'swing' open or retract up or to a side?
If its a retractor-diir, make a decal/sprite on the floor that looks like a shadow. Then as the door retracts, contract the shadow's scale_x to scale_y by a matching amount.
EG: then the door is 50% closed, the shadow sprite is at scale_x=0.5 Get what I mean?
If its a swing-door, I dont have any ideas at this point.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: Shadow in doorway
[Re: 3run]
#390534
01/01/12 12:54
01/01/12 12:54
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Hmmm. Still, the the same idea MAY apply.
The 'bright' area is from the baked light-map right? It looks like it... See how the bright area is roughly rectangle-shaped. So the 'width' is the door is the narrow dimension of that area.
What we need is a shadow-sprite to cover the light area. Now when the door is shut, the shadow needs to cover the whole bright-zone. But as the door opens, we need to shrink the scale of the shadow in the narrow dimension of the shadow, so the bright-area gets slowly exposed. You will also need to shift the shadow sideways toward the hinges-side of the door, so that the bright area only only gets exposed on the non-hinge side of the door.
Unfortunately I cant do pictures at the moment, otherwise I would do a diagram...
I hope this explains my idea...
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
|