Does anyone have or know of a generic shadowmapping shader? I'm looking at providing an alternative to stencil shadows, and I think shadowmapping is probably the way to go. Preferably it should be something simple and fast. No penumbral wedges and all that, that's overkill. I don't even need any gaussian blurring. I just want something which is as fast as possible as a fallback for cards which are slow with stencil volumes.