Before I asked how to render 2D on top of a canvas, but now I’d like to know the same for 3D.
What I would like to know is how to render another scene (or same scene from different angle) on top of the canvas.
Possible effects I’m trying to implement are things like rear-view mirrors in racing games or rocket-cams in FPS (not Fps).
I tried to find if I could just setup another rendering pass and make it render within a specific rectangular area of the canvas, but without any luck.
I also read the thread about rendering to a pbuffer and using it as a texture, but I was wondering if that was the only way to do it. Couldn’t you “just” copy the pbuffer to the canvas for example?