Directional Shadows
Posted: Fri Jun 17, 2022 10:05 am
Hi there! Long time no see!
I'm struggling with directional lights.
I believe currentDepth (the distance from light used in final render) is correct (or it's `1-x`, not sure), but everything else - not sure.
I feel like it's a minor change missing and I will feel stupid when I find it.
I've prepared minimal example (attachment, rotate withq/e).
Any tips appreciated!
Thanks in advance.
I'm struggling with directional lights.
I believe currentDepth (the distance from light used in final render) is correct (or it's `1-x`, not sure), but everything else - not sure.
I feel like it's a minor change missing and I will feel stupid when I find it.
I've prepared minimal example (attachment, rotate withq/e).
Any tips appreciated!
Thanks in advance.