|
2 registered members (steyr, alibaba),
534
guests, and 4
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Shadow penentrates wall please help!!
#318464
04/07/10 20:36
04/07/10 20:36
|
Joined: Apr 2010
Posts: 8
beginner20
OP
Newbie
|
OP
Newbie
Joined: Apr 2010
Posts: 8
|
Hy guys! I started creating a room and a floor around it. I put furnitures and such things and have a light source(I use static shadows). Everything fine exept one thing. I have a cupboard that I've created in 3dsmax. It cast shadow great but the only problem is its shadow penentrate the wall somehow and I can see it on the other side of the wall too. I dunno why. I used simple blocks for walls. Please help!! (I would post some pictures just dont now how I'm new here..)
Last edited by beginner20; 04/07/10 20:40.
|
|
|
Re: Shadow penentrates wall please help!!
[Re: beginner20]
#318467
04/07/10 20:40
04/07/10 20:40
|
Joined: Aug 2007
Posts: 1,922 Schweiz
Widi
Serious User
|
Serious User
Joined: Aug 2007
Posts: 1,922
Schweiz
|
That is how the shadows work in 3dgs. Use a static (not dynamic) light, that don`t go thru the walls.
EDIT: ohh, i see you use A6, here i don`t know...
Last edited by Widi; 04/07/10 20:41.
|
|
|
Re: Shadow penentrates wall please help!!
[Re: beginner20]
#318483
04/07/10 22:13
04/07/10 22:13
|
Joined: Dec 2008
Posts: 1,660 North America
Redeemer
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,660
North America
|
Use stencil shadows. Standard entity shadows are cast through walls. To do this, just set the "shadow_stencil" variable to 1 in your script, like this:
function main()
{
//...
shadow_stencil = 1; // turn on stencil shadows
//...
}
Hope that helps. 
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|