Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (vicknick, AndrewAMD), 1,292 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Stencil shadow question. how do you turn it on? #144395
07/30/07 00:36
07/30/07 00:36
Joined: Jul 2006
Posts: 8
F
fresh Offline OP
Newbie
fresh  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 8
Hi I'm a begineer and am just wondfering how to turn on Stencil shadow . According to the G7 manual it's:

var shadow_stencil = on;

But when i do that i get an error "on is an undeclared identifier"...

Somebody Help me plz!

Re: Stencil shadow question. how do you turn it on? [Re: fresh] #144396
07/30/07 04:58
07/30/07 04:58
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
don't set it to on, set it to 1


xXxGuitar511
- Programmer
Re: Stencil shadow question. how do you turn it on [Re: xXxGuitar511] #144397
07/30/07 05:00
07/30/07 05:00
Joined: Jul 2006
Posts: 8
F
fresh Offline OP
Newbie
fresh  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 8
Thanks, yeah i figured it out and post it on LiteC already ( just shadow_stencil = 2 or 1 works). The frame rate is a lot slower so I assume it's on stencil.

But, the shadow is not dynamic... shadow angle are not affected by any (dynamic)light source I placed on WED it only seems to change angle depending on the sun's angle... Also I can't get it to cast on walls...no matter how I placed the lights.... the shadow just caste downwards...(isn't that z-buffer shadow)?

Someone please help?

btw I'm using the trial version of the newest A7 from the download area..
(it says in the version page there's dynamic shadow but no static shadow?? )

Re: Stencil shadow question. how do you turn it on [Re: fresh] #144398
07/30/07 05:02
07/30/07 05:02
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
your static lights need to have the .cast flag on


xXxGuitar511
- Programmer
Re: Stencil shadow question. how do you turn it on [Re: xXxGuitar511] #144399
07/30/07 05:14
07/30/07 05:14
Joined: Jul 2006
Posts: 8
F
fresh Offline OP
Newbie
fresh  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 8
Huh? How do you do that in SED?
I just placed a light on WED and there's only a "Dynamic" option which is ticked..

Re: Stencil shadow question. how do you turn it on [Re: fresh] #144400
07/30/07 05:20
07/30/07 05:20
Joined: Jul 2006
Posts: 8
F
fresh Offline OP
Newbie
fresh  Offline OP
Newbie
F

Joined: Jul 2006
Posts: 8
Oh nevermind thanks alot! I figured out how to create spotlight on entities
Thanks heaps Guitar551

btw they should add a option for that for the light on WED... not very straightforward i thought. (i would have thought the dynamic option on the light = cast)

Re: Stencil shadow question. how do you turn it on [Re: fresh] #144401
07/31/07 04:33
07/31/07 04:33
Joined: Sep 2005
Posts: 508
Texas
not_me Offline
User
not_me  Offline
User

Joined: Sep 2005
Posts: 508
Texas
isnt it like my.stencil = on for that?


-Initiate Games
-Level designer

http://www.sckratchmagazine.com

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