| ▲ | avaer 3 hours ago | |
GLES isn't a bad way to teach graphics but I wish there was a middle ground between it and VK. The worst part of GL is the mysterious global state you will never understand without studying the spec. The world could use an API that's basically GL but without global hidden singleton (per thread!) BS behind the scenes. | ||
| ▲ | flohofwoe 2 minutes ago | parent | next [-] | |
> but I wish there was a middle ground between it and VK There's WebGPU, D3D11 and Metal. And (shameless plug): sokol-gfx tries to find a balance between simplicity while using modern 3D API paradigms: https://github.com/floooh/sokol Demos with links to C source and shader code: WebGL2: https://floooh.github.io/sokol-html5/ WebGPU (has a couple more demos which use features not available on GLES3/WebGL2, like compute shaders): https://floooh.github.io/sokol-webgpu/ | ||
| ▲ | minraws 21 minutes ago | parent | prev [-] | |
That middle ground is often called DirectX 11 but sadly it's stuck to a specific platform. | ||