|
|
shadow left on the terrain after setting the entity to invisible
#286383
08/25/09 05:00
08/25/09 05:00
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
I've got this annoying problem, after publishing my game, during collisions/event_impact I'm setting an entity to be invisible since it will be used again after level reset but its shadows will not be removed/hide... On SED compiler it works fine, it's just after publishing the game app this problem occurs..
Any idea why?
Last edited by seecah; 08/25/09 09:10.
Can't is not an option™
|
|
|
Re: shadow left on the terrain after setting the entity to invisible
[Re: Helghast]
#286413
08/25/09 08:28
08/25/09 08:28
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
Still not working.. Any other work around?
Can't is not an option™
|
|
|
Re: shadow left on the terrain after setting the entity to invisible
[Re: bart_the_13th]
#286464
08/25/09 12:28
08/25/09 12:28
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
I'm using decal shadow (shadow_stencil = 0) - PRO edition.. I've got problem with using stencil shadow, it'll not produce shadows on entities when using as such.. 
Last edited by seecah; 08/25/09 12:31.
Can't is not an option™
|
|
|
Re: shadow left on the terrain after setting the entity to invisible
[Re: bart_the_13th]
#286478
08/25/09 13:30
08/25/09 13:30
|
Joined: Apr 2009
Posts: 248 Philippines
seecah
OP
Member
|
OP
Member
Joined: Apr 2009
Posts: 248
Philippines
|
@Helghast, reset(my, CAST); doesn't work..
@bart_the_13th, it works.. but is there any explanations why?
Thanks all...
Can't is not an option™
|
|
|
Re: shadow left on the terrain after setting the entity to invisible
[Re: seecah]
#286484
08/25/09 13:50
08/25/09 13:50
|
Joined: Mar 2006
Posts: 3,538 WA, Australia
JibbSmart
Expert
|
Expert
Joined: Mar 2006
Posts: 3,538
WA, Australia
|
is there any explanations why? CAST is all about stencil shadows, so if stencil shadows were your problem, Helghast's solution would've nailed it. Decal shadows work differently. If you have a decal assigned, it'll be used, so you simply need to tell the program that you don't want it anymore the say Bart said. I hope that covers what you were asking. If the manual's anything to go by, you should also be able to fix it with "reset(my, SHADOW);". Jibb
Formerly known as JulzMighty. I made KarBOOM!
|
|
|
|