problem with blob shadow projector / shader

Hi everyone

I’m using the standard blob shadow projector and it looks ok but not in all meshes. I have a big mesh that the projector seems is not able to ‘shadow’. Check the picture.

Now, after experimented a bit I found something even more odd. I moved the terrain ‘up’ over the land pad. Then the shadow is casted on the terrain BUT only until the border of the airport. So you can see the shadow is still cut at the same spot eventhough it’s drawed on the terrain.

Funny thing, if i move the airport, the shadow will draw. Basically it will ONLY draw when the airport is under the project, either visible or invisible. It seems the raycast only detects the airport but it won’t detect the mesh of the terrain.

I guess it’s better explained with a video, here a link.
http://www.screencast.com/t/Njk0OTUzOW

Any ideas what’s going on? why the projector only hits that area? I don’t see anything special about this mesh.

358269--12449--$shadowgone_279.png
358269--12450--$shadowgoneweird_106.png
358269--12449--$shadowgone_279.png

ensure that the “big mesh” has a reasonable geometry distribution or the projector will visually fail (it will technically likely not fail, the precision of the UVs is just that low that it either will not show up or totally wrong)

Hi dreamora,
what do you mean by reasonable geometry? There is nothing crazy going on with that mesh :?

In any case, I would expect it to fail always (not able to match the UV or something) but as you can see on the screenshots and video, it actually draws the shadow correctly when the terrain mesh it’s on top of the airport. It seems the projector is only detecting a ‘hit’ when the airport is under it but not on the terrain.

reasonable means you don’t have any supersized triangles and alike, but after checking the video too this time I can say that this is unlikely the problem.

But the video has revealed one thing: you forgot the U3 tag in the title.
Thats important cause it is a beta and it might be very well a bug or a setup specific thing so knowing how you setup the projector etc would be nice (perhaps you setup the projector to not cast onto the terrain or the terrain to not get shadows, …)

I just solved it. It seems that scaling and projectors don’t get along very well. I set scaling to 1 and then all seems ok. If i set it to 2, i get weird behaviour and anything more it either dissapears or gets funny stuff on screen.

To me it’s still a bug, so I submitted it. But in case it might help someone else I post it on this thread: projectors issues? remove scaling on the mesh