Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 2.47 KB

File metadata and controls

30 lines (24 loc) · 2.47 KB

Medium renderer

This is a simple software renderer written in C using SDL just for window management and writting pixels to the framebuffer.

Still a work in progress.

Features:

  • Perspective projection
  • Perspective correct texturing
  • Correct depth testing
  • Mipmaps
  • Phong shading model
  • Shadows
  • Normal maps with tangent space
  • SSAO (Screen Space Ambient Occlusion)

Neutral color preview

utah teapot Suzan head (the infamous CGI monkey)
Screenshot from 2025-11-12 22-41-41 Screenshot from 2025-11-12 22-45-06
Girl Jack Daniel's Bottle
girl jack

Perspective correct texture mapping diffuse preview

Screenshot from 2025-11-18 03-22-46 Screenshot from 2025-11-18 03-25-17
Screenshot from 2025-11-18 04-10-30