This is a C++ port of Pathfinder 3 with a Vulkan backend added.
- C++14.
- D3d9 mode:
Vulkan/OpenGL 3.3 (or higher)/OpenGL ES 3.0 (or higher)/WebGL2. - D3d11 mode:
Vulkan/OpenGL 4.3 (or higher)/OpenGL ES 3.1 (or higher).
Notable: The D3d11 mode has some limits in an OpenGL ES context because, for ES, it's impossible to read & write the same image in a single compute invocation.
- Run
src/shaders/compile_and_convert.ps1to generate embedded shader headers. You should have Vulkan SDK installed first.
- Initialize submodules.
- Build and run the CMake project
demo/native/CMakeList.txt.
- Copy
assetsintodemo/android/app/src/main. - Open
demo/androidin Android Studio. - Build and run.
- Set up emscripten environment.
- Run
build_wasm.shto build the demo. - Run
demo/web/serve.shto serve a local website. - Open http://127.0.0.1:8000/.