Skip to content

A simple software renderer written in C using SDL as the graphics library for managing the window and drawing pixels.

Notifications You must be signed in to change notification settings

Leonidasabiri/Software-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple software renderer written in C using SDL as the graphics library for managing the window and drawing pixels.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published