OpenGL 3D Renderer
A simple 3D graphics renderer which showcases a number of graphics techniques and features, including:
Forward Rendering
Deferred Rendering/Lighting
Tessellation
Wireframe mode can be toggled on and off, which helps showcase tessellation.
Tessellation is performed based on camera distance. The camera’s position is provided to the tessellation control shader, where it is then tested against the vertices’ positions. The tessellation level is then turned up or down, depending on how far the camera is.