OpenGL ES, orthopgraphics projection and viewport
- by DarkDeny
I want to make some simple 2D game on iOS to familiarize myself with OpenGL ES.
I started with Ray Wenderlich tutorial (How To Create A Simple 2D iPhone Game with OpenGL ES 2.0 and GLKit). That tutorial is quite good, but I miss some parts of a puzzle.
Ray creates orthographic projection using some magic numbers like 480 and 320. It is not clear…