Hello everyone!
I'm stumbling upon a problem. I have a quite big spotlight (60 Radius, 90 FOV) which illuminates this sort of garden. The problem is, the walls are planes; and light, although it creates shadows, goes through... here's a screenie to show the problem:
http://imgur.com/c7iVayl
The spotlight is set to cast shadows, the planes are set to cast shadows too.
EVERYTHING should cast shadows...
Any ideas?
I think that is actually a common issue with the engine. Light usually passes through objects it shouldn't. I'm afraid I don't know what to do about it, but perhaps someone do :/
Make several smaller ones...
HPL2... some parts could be really improved, witch i'm sure of FG guys will have in HPL3
First, press G in your editor to remove that atrocious grid xD
As for the spotlight, I'm pretty sure the light goes through planes only in the editor.
Try in-game how it looks.
here:
In-game I see a black square on the floor.
Yeah, here are 2 new images:
I've reduced to spotlight radius, although it's weaker, it doesn't go through and casts shadows on the planes, I guess that's something...
This is what happens if the previous setting were kept:
http://imgur.com/dDvhNay
http://imgur.com/G2udXo8
*The skybox isn't definitive
About planes not casting shadows, I have a question:
If light finds a static object with no texture at all will it cast shadows?
(07-08-2014, 02:38 PM)The chaser Wrote: [ -> ]About planes not casting shadows, I have a question:
If light finds a static object with no texture at all will it cast shadows?
I don't know about this one, but one trick I use is get the plane_black from the technical static object and place that wherever I don't need light, specially through a plane. Just putting it around 0.02 behind the plane will cast a shadow, and the back is invisible to the view 180 degrees behind.
It would work well here I believe, because you're using a plane for a wall.
Stays the same... there's still that light from beneath the walls... Nice idea, though.
Are you sure? I used that plane_black.mat in my mod TheRaven to force the spotlights to cast shadows.
The black planes cut the light by facing the spotlight directly. In-game this black plane casts a shadow behind him.
Maybe you didn't enable shadows on the black plane?
In-game