WIP: shareable shadow maps
Changes to mwshadowtechnique that allows me to share shadow maps with other views, by generating from an alternate view+projection matrix and then copying statesets to other views. See vrshadow.cpp for an example of use.
I'd like suggestions on better ways to pass around the SharedShadowMapConfig
structure than as user data of cameras, which feels like too much of a hack to be the only reasonable way.
The motivation for this changeset is naturally that not computing the shadows twice is a major performance benefit when rendering stereo.
Edited by Mads Buvik Sandvei