Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 14,136 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
static shadows and the camera #215896
07/13/08 22:35
07/13/08 22:35
Joined: Apr 2007
Posts: 35
texas
over_board Offline OP
Newbie
over_board  Offline OP
Newbie

Joined: Apr 2007
Posts: 35
texas
when using static shadows and moving the camera throughout the game space ive noticed taht the shadows do this "weird thing". i*the player* walks under a tree casting a static shadow and the shadows sortof invert themselves. is there a way to fix this and if so could someone show me how?


New progammer for... Initiate Games (c) 2007 and Sckratch Magazine (c) 2007 http://www.sckratchmagazine.com
Re: static shadows and the camera [Re: over_board] #216192
07/15/08 17:19
07/15/08 17:19
Joined: Apr 2007
Posts: 35
texas
over_board Offline OP
Newbie
over_board  Offline OP
Newbie

Joined: Apr 2007
Posts: 35
texas
*bump*
*i meant stencil shadows not static*

Last edited by over_board; 07/15/08 17:20.

New progammer for... Initiate Games (c) 2007 and Sckratch Magazine (c) 2007 http://www.sckratchmagazine.com
Re: static shadows and the camera [Re: over_board] #216195
07/15/08 17:24
07/15/08 17:24
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
When the camera can be inside a shadow you must use zfail shadows not zpass. Read of shadows in the manual here: http://manual.conitec.net/shadow_stencil.htm

Re: static shadows and the camera [Re: Tobias] #216435
07/17/08 03:39
07/17/08 03:39
Joined: Sep 2005
Posts: 508
Texas
not_me Offline
User
not_me  Offline
User

Joined: Sep 2005
Posts: 508
Texas
i tried implementing this...and nothing happens...


-Initiate Games
-Level designer

http://www.sckratchmagazine.com
Re: static shadows and the camera [Re: not_me] #216436
07/17/08 03:42
07/17/08 03:42
Joined: Apr 2007
Posts: 35
texas
over_board Offline OP
Newbie
over_board  Offline OP
Newbie

Joined: Apr 2007
Posts: 35
texas
same here...in display wdl file it says
var shadow_stencil = on;

so i change it to

var shadow_stencil;

then in the main function i say shadow_stencil = 2;

is this wrong?


New progammer for... Initiate Games (c) 2007 and Sckratch Magazine (c) 2007 http://www.sckratchmagazine.com
Re: static shadows and the camera [Re: over_board] #216437
07/17/08 03:52
07/17/08 03:52
Joined: Apr 2007
Posts: 35
texas
over_board Offline OP
Newbie
over_board  Offline OP
Newbie

Joined: Apr 2007
Posts: 35
texas
OOOH zfail is something only in a7??? can it be used in a6?


New progammer for... Initiate Games (c) 2007 and Sckratch Magazine (c) 2007 http://www.sckratchmagazine.com
Re: static shadows and the camera [Re: over_board] #216535
07/17/08 12:58
07/17/08 12:58
Joined: Sep 2002
Posts: 1,604
Deutschland
ChrisB Offline
Serious User
ChrisB  Offline
Serious User

Joined: Sep 2002
Posts: 1,604
Deutschland
A6.6 also support zfail stencil shadows.
Just write:
var shadow_stencil=2;


www.Swollen-Eyeballs.org
ICQ:169213431
#3dgs@quakenet
Re: static shadows and the camera [Re: ChrisB] #216845
07/19/08 04:43
07/19/08 04:43
Joined: Apr 2007
Posts: 35
texas
over_board Offline OP
Newbie
over_board  Offline OP
Newbie

Joined: Apr 2007
Posts: 35
texas
we've tried that, but to no avail...


New progammer for... Initiate Games (c) 2007 and Sckratch Magazine (c) 2007 http://www.sckratchmagazine.com

Moderated by  adoado, checkbutton, mk_1, Perro 

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