- Home /
blob projector ignores floor without ignore layer?!?
Okay i don't understand, why the blob projector is projecting onto the lower platform if the gameobject is above the top platform?
Yes, the far clip plane does reach to the lower platform but it shouldn't render through the top platform...
The only ignore layer set for the projector is a custom ignore for the ball object. Thats it. If i make it ignore the platforms too, then the whole purpose of the projector is moot.
projector values: near clip:9 //high value to prevent rendering of shadow on a platform above the ball by accident.
far clip:50
FOV:15
aspect:1
ortho: off
uses the default shadow material with falloff provided in standard assets.
That's how the projector works - it projects onto all objects within its range.
You can probably get around this by raycasting and setting the distance to the hit distance + a buffer.
So your slanted surfaces don't have half a shadow on them. I haven't used projector very much, not sure if it cuts off suddenly or anything. Try without a buffer and if it works like that then never$$anonymous$$d. :)
ok then, havent really used raycasts much yet but ill take a shot at this. if i get stuck ill come crawling back here :p