Ok, first thanks for this contribution, but
uh i hope this doesn't sound that harsh but
1. Please use the code tags
2. Why are we not allowed to modify it? I mean how could we adjust it to our games?
3. Could you please add it to the wiki?
4. float4(IN.Depth.x * 1.001,IN.Depth.y * 1.001,IN.Depth.z,IN.Depth.w), wouldn't it be better to use addition instead multiplikation for a box-filter?
5. Whats so special about your "2-stage" shadow mapping shader? I mean this is just how you would do shadow mapping, including some sort of percentage closer filtering.