shadow mapping

multiple rendering

LukeNeo's picture

Hi, in the latest version of GLtools there is "GL stereo environment" patch, witch render any geometry placed inside two times, from different points of view. My question is: how is it possible to do multiple rendering of one scene in a single patch, like in the GL stereo environment? For example, if I'll be able to render one scene from the light point of view and from the observer point of view, we can implement shadow mapping (not to mention all the other techniques witch needs multiple render, like ambient occlusion). Thank you!