Archived

This topic is now archived and is closed to further replies.

CommanderXXL

Creating a small window in a scene?

Recommended Posts

CommanderXXL    122
I''m currently working on some sort of window in window effect in my game. I try to create a second scene (Let''s say the view of one of my teammates or maybe the view of a rocket) and i want to render the new scene in a small protion of the screen. I have no problem of rendering the second scene with completly different vertex and index buffers, but how can i draw this to my screen? Thanks for help By CommanderXXL

Share this post


Link to post
Share on other sites
Sharky    197
Probably the best method is to render your inset scene to a texture (as opposed to the screen) and then display this texture on, say, a screen aligned quad as an overlay on your main screen.

Share this post


Link to post
Share on other sites