Over the winter break, I made a software rasterizer with C++. The project helped me a lot with understanding the rendering pipeline and the math behind OpenGL. Source code.

Rendered images

  • Gourald shaders: diffuse + specular + ambient
  • Normal mapping
  • Glow mapping
  • Shadow mapping
  • Gamma correction

Picture 1 Picture 2

Resources

🔗 Tiny renderer