Fyrox
Fyrox copied to clipboard
More rendering interfaces options.
Currently, rg3d only supports OpenGl. OpenGL is good for small engine, but rg3d is getting bigger. There's three main modern rendering interfaces out there:
- Vulkan,
- DirectX
- Metal
Fortunatly, rust ecosystem provides layers uniting different interfaces.
- wgpu - a high level layer. it provides safe an easy API, but you can't squeeze every last bit of the GPU.
- wgpu-hal - a tiny low level layer, HAL. it provides a minimal layer between different interfaces, so you don't have any fancy abstract feautures from wgpu, but it provides maximum perfomance.
This may be a big feature, but the sooner wgpu is used, the sooner more eyes will be on Fyrox.
Rendering is not a top-priority task for the engine. If somebody needs a new renderer - go ahead, write it and make a PR.
I have been wanting to try my hands at a Vulkan renderer, I will see how far I get but no promises.