- Install libKTX. Find the latest release in the Releases tab and install it to
D:/Program Files/KTX-Software
. If your system does not have a D drive, you'll have to modifyRenderCore/extern/extern.cmake
to setKTX_DIR
to the directory you installed libKTX to - You'll also need to install the Vulkan SDK and add it's
bin
directory to your PATH - Download "the glTF Sponza" from https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/Sponza. You'll need to manually copy it to your working directory before running
- Symlink or copy the folder
RenderCore/Shaders/
toapp/src/main/shaders/
- Copy the glTF Sponza to
app/src/main/assets/Sponza/
- Build the Gradle project in
app/
- Run the APK
- Download
gltfpack
from https://github.com/zeux/meshoptimizer and place it in your PATH - Copy the glTF Sponza to
Windows/build/Sponza/
- Symlink (or copy) the folder
RenderCore/shaders/
toWindows/build/shaders/
- Build the cmake project in
Windows
- Run the SahWindows Visual Studio project
- If you want to run from outside Visual Studio, either copy Sponza and the shaders to
Windows/build/Debug
or copy the SahWindows executable toWindows/build
Unsupported. You could probably modify the Windows build to also run on Linux, but I've had no reason to
- This program definitely works on a Nvidia RTX 2080 Super GPU, and a Mali G710 GPU. Other Vulkan implementations may or may not support all the required features