Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
2 registered members (steyr, alibaba), 534 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Shadow penentrates wall please help!! #318464
04/07/10 20:36
04/07/10 20:36
Joined: Apr 2010
Posts: 8
B
beginner20 Offline OP
Newbie
beginner20  Offline OP
Newbie
B

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] #318466
04/07/10 20:40
04/07/10 20:40
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
which engine versin do you use?

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 Offline
Serious User
Widi  Offline
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: Widi] #318470
04/07/10 20:42
04/07/10 20:42
Joined: Apr 2010
Posts: 8
B
beginner20 Offline OP
Newbie
beginner20  Offline OP
Newbie
B

Joined: Apr 2010
Posts: 8
I use a static light as I said ,not dynamic. And I use A6 engine.

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 Offline
Serious User
Redeemer  Offline
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:

Code:
function main()
{
//...

shadow_stencil = 1; // turn on stencil shadows

//...
}



Hope that helps. laugh


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Shadow penentrates wall please help!! [Re: Redeemer] #318515
04/08/10 06:19
04/08/10 06:19
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@Redeemer: A6 don`t support stencil Shadows...

Re: Shadow penentrates wall please help!! [Re: Widi] #318516
04/08/10 06:35
04/08/10 06:35
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
a6 com + pro support stencils

Re: Shadow penentrates wall please help!! [Re: Damocles_] #318518
04/08/10 06:57
04/08/10 06:57
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Uups, don`t know. sorry blush

Re: Shadow penentrates wall please help!! [Re: Widi] #318529
04/08/10 09:43
04/08/10 09:43
Joined: Apr 2010
Posts: 8
B
beginner20 Offline OP
Newbie
beginner20  Offline OP
Newbie
B

Joined: Apr 2010
Posts: 8
I have A6 pro and stencil shadows didnt help frown any other idea guys?

Re: Shadow penentrates wall please help!! [Re: beginner20] #318533
04/08/10 10:18
04/08/10 10:18
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
Actually, shadow stencil is supported for A6.40 and above. As for the shadow penetrating the wall, it's the weakness of stencil shadow. You cant do nothing about that except hide it in the darker wall

Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1