Fantastic! Thanks for this.

Anyone know how to make this work with dynamic lights? Also, how would this blend the shadow map in with the effect?