3 ms·
I'm building a realtime path tracer using http://vulkano.rs/ http://vulkano.rs/ It's the best Vulkan library I've seen so far (Though the C++ one is pretty goo
by arianvanp 9y ago
I'm building a realtime path tracer using http://vulkano.rs/ http://vulkano.rs/
It's the best Vulkan library I've seen so far (Though the C++ one is pretty good as well). It will preprocess your shaders and generate rust structs that are guarenteed to be the same alignment as the structs in your shaders, which is very nice. They also use a future-based API (a la tokio) such that I don't have to deal with fences and semaphores and whatnot myself. The future simply resolves as soon as the GPU is done doing work. It's an amazing abstraction, and really makes you think of your GPU as an asynchronous machine, instead of the openGL hacks that try to hide that from you.