Duplicate Scene With Different Shader

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.

I solved my own problem again. Took a bit of work (and a lot of bus errors, and moving to a computer with better graphics support), but I found Camera. setInitialState in the Cartoon Inking sample (which throws bus errors on my mac mini), and that allowed me to accomplish what I needed in a rather tidy way. I knew there was a good way to do it (with panda3d, there is almost always is a good way do do things, just sometimes its hard to find :slight_smile: )