Gamestudio Links
Zorro Links
Newest Posts
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 8,322 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
MaliceTheMaker, Haitao_Ren, JimSimons, julienp, julienper
19248 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Stencil shadow problems #235688
11/09/08 13:05
11/09/08 13:05
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Let's say i have a MDL landscape that casts a stencil shadow. With a few MDL things at it that also casts shadow. Like this building here.



With shadow_stencil = 1; and running into the shadow of the building ( the camera being also in the shadow) the whole shadow disappears except a few fragments.



With shadow_stencil = 2; and above the shadow stays. But my landscape casts itself as a shadow relative to the view and light source.



Stencil shadows would be absolute enough for my needs. And would have the benefit of a very small file. How can i setup the Stencil shadow so that it works correct? Is there even a correct way? Should i drop the useage of Stencil shadows? What are the alternatives?


trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: Stencil shadow problems [Re: Tiles] #235713
11/09/08 17:27
11/09/08 17:27
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
You dont can move the camera in the shadow. read "shadow_stencil" in the manual

Re: Stencil shadow problems [Re: Widi] #235714
11/09/08 17:40
11/09/08 17:40
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Thanks smile

So this first case is a limit of the Z-pass-Stencil-Shadows. Hmm. But in the second case i use Z Fail Stencil shadows. And here i can walk into shadows. But it fails because of this strange effect that the landscape casts itself as a small shadow. This is surely not how it should be. Any idea what goes wrong here?

Last edited by Tiles; 11/09/08 18:02.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de

Gamestudio download | 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