PDA

View Full Version : Vehicle/turret shadows going through meshes + BSP


share_the_pain
01-20-2008, 09:10 PM
I'm having a problem with my vehicles and turrets. I have a 3 story building, with a SPMA trapped on a balcony on the third floor, two stinger turrets on the second, and my core on the first. The problem is, the dynamic shadows from these vehicles/turrets are going straight through the meshes and BSP below them; you can see the shadow of the SPMA on the roof and floor of the second and first floor, and the shadows of the turrets on the roof and floor of the first floor. Anyone know how to fix this?

In this pic I'm on the second floor right under where the SPMA is. As you can see, the shadows are being cast on the roof and floor.

Nova Silisko
01-23-2008, 12:03 AM
thats weird...

sorry but i dont have any help... :angst:

share_the_pain
01-24-2008, 10:27 AM
*Bump*

Anyone? It's not a matter of huge importance at the moment, as I'm still slowly designing the base, but once I get more permanent lighting in I would like to see this get fixed.

DeadMeatGF
01-24-2008, 10:42 AM
Is it related to the Skylight/Sunlight issues referred to in this thread (http://www.unrealplayground.com/forums/showthread.php?t=48702)?
:grasps at straws:

We need a smilie for that ;)

share_the_pain
01-24-2008, 11:08 AM
Unfortunately, no. I've disabled all out door lights (which were only temporary so I could see what I was doing) and it still casts shadows.

DeadMeatGF
01-24-2008, 12:08 PM
Curses!
:cries:
Why are my wild guesses never right? ;)

Cry0
01-24-2008, 04:47 PM
Unfortunately, no. I've disabled all out door lights (which were only temporary so I could see what I was doing) and it still casts shadows.

actually, it's a pretty common bug in the unreal engine. In both gears fo war and ut3, sometimes enemies or objects cast shadows on the hallway below them (great for spotting hidden enemies in GoW :p). Afaik, the only thing you can do against it is make sure your bsp and meshes are well aligned (no light cn get through, no teensie eeny meeny cracks in the floor, etc.). My raptors etc cast shadow trhough bsp on the terrain too, luckil, it's obscured and u cnt see it :P

share_the_pain
02-07-2008, 04:06 PM
Ok I kinda half fixed it. I decided to make a subclass of the SPMA and turn off bCastShadows. While this works there is another problem: now it doesn't cast shadows below it which makes it look like crap... I suppose if I make the lighting up there low it won't matter much (I planned on this being a night map anyways). Oh well it's fine for now and I'll worry about it later if I must.

SuperApe
02-08-2008, 02:57 PM
Sounds like a nice workaround.