Rendering just a shadow

Hey,

using the default shadow maps, how can I just render the shadow, i.e. get a black image that’s transparent where there are no visible shadows

Here’s a sample. You need to use a GLSL MAT to do this I think.

It outputs (0,0,0,1) where there is a shadow, and (0,0,0,0) where there isn’t (in the Render Pass TOP).

Hope this is what you wanted.
untitled.toe (7.68 KB)