So I decided to extend the Black Engine to support DirectX 11 with OpenGL 4.5. I also thought of a better name for the engine, “Blue Flame”.
So, moving forward, the “Black Engine” is now called “Blue Flame Engine” and it will support both OpenGL 4.5 and DirectX 11.
It doesn’t look like much, but this triangle is being rendered by both OpenGL 4.5 and DirectX 11 using a single unified code. So basically you write once, and the engine will port things to both OpenGL and DirectX. One thing I still haven’t gotten around to doing is that the engine still requires you to write two sets of shaders, HLSL and GLSL. In the future there will be a single shader language you write to and the engine will convert it to HLSL and GLSL automatically.
As always, the source code for this engine is up on github if anyone is interested to look at.