shadow projection

Hi

2 things.

  • Firstly, why does the blob shadow projector cast no shadow here? If I rotate it
    I can see the effect over the entire plane but can’t seem to scale it down. In other scenes it focuses a tight shadow under a vehicle or the like?

  • I recently upgraded “Flip for Mac”; the WMV components for Quicktime and I had to then reinstall Intel Combo for 10.4.9. Is that normal?

Thanks!

M

Is the shadow projector’s frustum (the thing you see in the scene view) intersect with the ground? If not, then projector simply does not “reach” it.

What material/shader are you using on the projector? Can you do a screenshot of the material inspector?

Thanks Aras for drawing the shader to my attention. Wasn’t using the hidden/projector/miltoply!

Cheers!

M

…still not casting a shadow. I am importing the prefab from another scene where it works fine.

Have I set up a dodgy prefab in the scene where it doesn’t work, or something which needs to be cleared?

M

The idea of blob shadow is that its a projector (think slide projector but it projects black instead of image). Youd be better parenting it to the car, pointing straight down. Eventually you’ll want a script so the shadow follows the cars position, and always points down. I think your trying to cast a shadow with it arent you? No go. Simple blobs. This feature runs well on totally crap video cards btw
AC

Edit heres what I use

var subprefabcube : Transform; 

function Update () 
{ 
 
   transform.position = subprefabcube.position;

   transform.rotation = subprefabcube.rotation;
}

Change subprefab cube for whatever you want. I have that cube parented to my sub pointing down with its z (blue arrow) axis.hth

Can you show how the Inspector looks with the projector selected?

Hey, thanks for the script!

No, not trying to cast a shadow ( I wish)… I understand the principle.

The shadow under the truck isn’t all that great I know but problem is that the projecor in the curent scene (above) won’t project anything. Getting no blob at all.

It all seems to be set up OK?

M

Well looking at your pic, I’d say it is projecting as the car has blackness around it.
Are you using the standard blob shadow projector? Or have you imported your own texture? If the near clip plane is too high, the projection wont hit the surface…Heres my inspector settings…
HTH
AC

Edit and import settings:

37700--1413--$picture_43_169.png

Targos

Thanks!

It isn’t the truck scene that’s not projecting it’s the Factory scene behind.

Checked the import settings… I guess i’ll be on a bit of learning curve for the next while?

Cheers!

Matt

your yellow widget box must collide with the ground object in order to see the shadow. From your pic of the building the box stops shy of the ground and thus no shadow.

Cheers,

Victom

It didn’t seem to make any difference what I did in that scene, I’ll pu it on hold and look at it later. Thanks anyway.

It works fine after starting over with a new scene though.

Figured out why the original projector wasn’t working. I increased the size of the texture to 512, clamped it and then scaled the projector up a little. Not perfect but this is the same projector with a new image and model.

M

Aras

Sorry, I missed your post back there.

In some projects though the same thing still happens and my remedy doesn’t work?

M

Do you have a small scene where it does not work like you expect it to? Please send it via Report Bug.app

Aras

Will do,

Thanks.

M

Aras

The bug, if it is one must be in that one project file because if I open the scene with the dysfunctional projector in another project it works. So, not much use sending it.

I’ll just scratch that project folder.

Thanks anyway!

m