ShadowMapping: Shadows only visible at y=0

So now it works perfectly?

If you set a point light with perspective projection, you will have to uncouple the bias matrix from the rest. You need this because you have to compute perspective division to ensure that before computing bias transformation, coordinates are in the [-1 1] range.

well, unfortunately not. but thanks for staying with me!

i would like to continue to keep the orthogonal projection for the light-pass. but anyways, i dont think this is the problem, since the shadowmap itself is fine. it is just that at the final pass the shadows “stick” to the objects, as if the object’s were not transformed.