r/GraphicsProgramming • u/Batteryofenergy1 • Oct 18 '26
Progress on Software Rendered game in C
This is some progress of a free game i have been working. This is fully software rendered on the CPU and OpenGL is only used to render the image. I use multiple threads to render the game at full 1080p. Using SIMD instructions helps a lot to get a decent frame rate. But i am still kinda dissapointed by the performance, i think Michael Abrash's binning technique would improve it, but right now, it is decent. I am getting around 70-140 frames with I5-12400.
502
Upvotes
View all comments
Show parent comment
1
u/deftware Oct 20 '26
OpenGL is less boilerplate, for one - and since all that OP is doing is taking a buffer of pixels and putting it onscreen, it almost makes no difference what API you use. Pixel Buffer Objects allow for asynchronous transfer so it's going to be pretty quick, minimal API calls on the whole. I would be very surprised if there was any performance difference between DX12/VK/GL.