OpenGL-based game engine