Custom shadow maps, am I missing something?

For some odd reasons I am trying to do some custom shadow mapping after years of just using the built in shadow features. I feel like I’ve either forgotten how to do this, or things have changed or there is a bug? I’m attaching a file that is just trying to recreate basic hard shadows using an unadulterated depth map. I don’t even need the custom shadow to be great, just evident. I can’t seem to drum up any old reference. Am I just missing something to do with depth offsetting? Or is this busted?

custom shadows what.toe (8.2 KB)

Little update here, if i increase the near plane parameter on light1 in my attached toe from first post, i can start to see a faint ghost of the shadow in render3, almost as if the shadow map is being applied while the non-shadow mapped normal lighting solution is also contributing…

Thanks for the report. I’ll take a look

This should be fixed in the next build we post. The way you have it setup has been broken for a while. It would work if you were doing our own custom shadowing code though, including your own projections etc. But that’s a super old workflow.