r/GraphicsProgramming • u/Both_Technician_1754 • Feb 03 '26
Software Renderer written in C
Hello everyone, just wanted to showcase something i had been working on for the last few months,I have recently started learning C and wanted to understand a bit more in depth behind the graphics pipeline so made this 3D Software Renderer with as minimal overhead as possible. I will keep updating the code as i learn more about the language and graphics in general.
Check out the code here:-
https://github.com/kendad/3D_Software_Renderer.git
78
Upvotes
11
u/Ok-Hotel-8551 Feb 03 '26
Can you run Quake on it?
1
u/iamfacts Feb 03 '26
How many triangles? What perf with phong shading? I thought sw rasterizers could be much faster because thief was made in 90s and was sw rendered.
2
u/keelanstuart Feb 03 '26
Kudos! Looking great!
1
u/Propagant Feb 03 '26
Cool, how complex scenes can it take? Looks like it is a bit laggy in the video
1
u/L4_Topher Feb 03 '26
Is the HDRI background from polyhaven?
1
u/fgennari Feb 04 '26
The label textures are backwards. But other than that, it looks good!
1
u/lost_and_clown Feb 04 '26
Sweet!!
1
u/[deleted] Feb 03 '26
Nice.
1
u/Plane_Dust2555 Feb 03 '26
Very, very nice!!!
0
u/tamat Feb 03 '26
cute!