I want to generate a screen space to models space map texture. Setting up the shaders for it is pretty easy, but my issues is that I want to render the same scene, with the same camera, to a different buffer with a different shader. I can’t figure out a good way yo do this.
In my particular case, there is only one model of interest, with just one geom, so setting up and maintaining a parallel identical scene graph with a different shader is possible, but that seems like a stylistically poor solution.