We have a mostly 2D game that runs in orthographic mode, but one part shows a 3d model that is rendered in between the other 2D objects. How can I switch to perspective mode, render that model, then switch back to render the other objects in orthographic mode?
Kudos if you can show how it’s done in OpenGL ES.
I think this isn’t exactly specified question. Are you want more views? Or you want to have 2D background, 3D game objects, 2D gui. If you want this, then:
Or you want something else?
EDIT:
Here’s little code: