Get shadows working with custom shader

What you need is the ShadowDepthWrapper class: