Stencil shadow question. how do you turn it on?

Posted By: fresh

Stencil shadow question. how do you turn it on? - 07/30/07 00:36

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!
Posted By: xXxGuitar511

Re: Stencil shadow question. how do you turn it on? - 07/30/07 04:58

don't set it to on, set it to 1
Posted By: fresh

Re: Stencil shadow question. how do you turn it on - 07/30/07 05:00

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?? )
Posted By: xXxGuitar511

Re: Stencil shadow question. how do you turn it on - 07/30/07 05:02

your static lights need to have the .cast flag on
Posted By: fresh

Re: Stencil shadow question. how do you turn it on - 07/30/07 05:14

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..
Posted By: fresh

Re: Stencil shadow question. how do you turn it on - 07/30/07 05:20

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)
Posted By: not_me

Re: Stencil shadow question. how do you turn it on - 07/31/07 04:33

isnt it like my.stencil = on for that?
© 2024 lite-C Forums