[SOLVED] Top of shadow getting cut off

I’ve recreated an issue I’m seeing in my project on this playground:

Does anyone know why the top of the shadow is getting cut off in this playground, and how to fix it?

Hi @violgamba and welcome to the community!

It’s because the top of the shadow caster isn’t within the frustum. You can enable the frustum in the Inspector by selecting the light and under Debug, enable Display Frustum.

The quickest fix is light.autoCalcShadowZBounds = true;

2 Likes

This certainly worked, and I appreciate the ease with which you can view the frustrum.
Thanks @inteja!

2 Likes