OpenGL Skybox Rendering

If you have ever played any polished game where there is specular reflections of the game world, it was probably implemented with environment maps.  An environment map can be implemented as a 6 textures mapped to the inner surface of a cube at infinity distance centered on the object being rendered.

Continue reading “OpenGL Skybox Rendering”

OpenGL Math

So when learning OpenGL i decided that i would write my own Math classes instead of using a math library such as glm. I always enjoy trying to use as few library as possible and having to write it myself as a fun challenged. A lot of people ask me why i would bother, just use an existing library, for me, It’s just fun! Continue reading “OpenGL Math”