D2 log 071 – Sokol

I’m porting my rendering code from OpenGL to the Sokol library. Sokol has a very nice low-level 3D API with multiple rendering backends (GL/Metal/D3D). It makes it much easier to experiment with new rendering techniques, especially when paired with the shader cross-compiler.

Still work in progress but I’ve done proof of concept tests for all major components of the game and everything seems to be OK.

I’m also using the Sokol app and audio libraries to completely replace SDL. The project feels much more lightweight without it.