- Install WindowsSDK and VulkanSDK
- Clone project and init submodules
- Generate and build project using cmake
Or by running scripts only:
- Run
1-Deploy.bat - Run
2-Build.bat
- Install VulkanSDK, xorg-dev, libwayland-dev, libxkbcommon-dev
- Clone project and init submodules
- Generate and build project using cmake
Or by running scripts only:
- Run
./1-Deploy.sh - RUn
./2-Build.sh
- Install libx11-dev, libxrandr-dev
- Clone project and init submodules
- Generate and build project using cmake
-DUSE_MINIMAL_DATA=ON - download minimal resource package (90MB)
-DDISABLE_SHADER_COMPILATION=ON - disable compilation of shaders (shaders can be built on other platform)
-DDXC_CUSTOM_PATH=my/path/to/dxc - custom path to dxc
-DUSE_DXC_FROM_PACKMAN_ON_AARCH64=OFF - use default path for dxc
The executables load resources from _Data, therefore please run the samples with working directory set to
the project root folder. The executables can be found in _Bin.
Create a new cpp file in Source/ and add add_sample(YourFileName) in CMakeLists.txt.
CMake script scans and adds all shaders from Source/Shaders to a project called SampleShaders, therefore
you will need to reconfigure CMake project after adding new shaders.