Unity-Technologies / arfoundation-demos

AR Foundation demo projects
Other
500 stars 128 forks source link

Shadow shader visble when camera moved outside of object. #32

Closed rvegele closed 4 years ago

rvegele commented 4 years ago

After placing an object on a plane the object has a nice shadow and the plane is invisible.

But as soon as the phone (camera) is moved, and the object is no longer visible, the 'shadown plane' becomes gray and semi-transparent.

The blue sphere image shows the plane under invisible with a blurred shadow, whereas the second image shows a white wall and a dark-gray plane (changed to be more visible than the one under the blue sphere).

IMG_6854 IMG_6855

DanMillerDev commented 4 years ago

@rvegele an you provide more clarification or a video of what's happening? It's hard to tell exactly what the plane or shadow object is in the second video.

ghost commented 4 years ago

I reproduced the problem and am giving Dan a fix, no worries.

rvegele commented 4 years ago

@rvegele an you provide more clarification or a video of what's happening? It's hard to tell exactly what the plane or shadow object is in the second video.

Sorry for a lacking explanation and a worse image. I believe it might not be needed any more 👍

Thanks for the great work!

DanMillerDev commented 4 years ago

fixed in https://github.com/Unity-Technologies/arfoundation-demos/commit/05ff22ee67d274e1e690ccda50b2719499eb9c0a