Game Development Community

Making the sun's shadows not effect in interiors..

by Kevin Johnson · in Torque Game Engine · 03/24/2004 (8:00 pm) · 3 replies

Hey i saw a resource or something that fixed the sun shadows in interiors bug..but i cant find it.. can any1 point a nOOb to where it might be..??
thanx

#1
03/24/2004 (10:11 pm)
Bug?

Do you mean the flag on portals to allow outside light?
#2
03/24/2004 (11:10 pm)
Kevin, are you using portals?
#3
03/25/2004 (7:13 am)
My bad ..perhaps "bug" isnt the right word :)..

I create a hollow box and add a door (covered w/ a portal) set let abient light through false. I am using the daylight code from Hobiticus and am in 3rd person view. The shadow cast by the player moves with the sun like it should.. but when i go into an interrior it still follows the sun.. I thought i read somewhere that there was a way around this..even if i enclose the whole interrior in a portal the shadow still moves with the sun..any clues??