Fyrox icon indicating copy to clipboard operation
Fyrox copied to clipboard

More rendering interfaces options.

Open ghost opened this issue 4 years ago • 6 comments

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.

ghost avatar Jun 29 '21 16:06 ghost

This may be a big feature, but the sooner wgpu is used, the sooner more eyes will be on Fyrox.

Type1J avatar Jan 09 '23 14:01 Type1J

Rendering is not a top-priority task for the engine. If somebody needs a new renderer - go ahead, write it and make a PR.

mrDIMAS avatar Jan 13 '23 13:01 mrDIMAS

I have been wanting to try my hands at a Vulkan renderer, I will see how far I get but no promises.

TiltedTeapot avatar Nov 12 '23 19:11 TiltedTeapot