I've created my own little Game/Rendering Engine using Vulkan API.
Windows - Visual Studio 2022 is recommended
Linux - CLion IDE is recommended
1. Downloading the repository
Start by cloning the repository with git clone --recursive https://github.com/PrakarshPanwar/VulkanEngine.git.
2. Setting up Project
- Run the VkGenProjects.bat file found in main repository to generate Project Files.
- Build Assimp submodule by typing
Yafter this shows up in Command Prompt after Projects Build.
BUILD ASSIMP SOLUTION(Y/N):
- Build Tracy Profiler(optional) by typing
Yafter Assimp binaries are built
BUILD TRACY PROFILER SOLUTION(Y/N):
- One prerequisite is the Vulkan SDK. If it is not installed, then install VulkanSDK here.
- During SDK Setup, check Vulkan Memory Allocator Header and Shader Toolchain Debug, then proceed with installation.
- After installation, create a folder VulkanSDK in VulkanCore/vendor and copy all the folders of VulkanSDK in VulkanCore/vendor/VulkanSDK.
- Again run VkGenProjects.bat to link debug libraries in shaderc.
- Checkout linux/main branch.
- If you are using CLion IDE, it will automatically detect CMake files, right click on root CMakeLists.txt and click Reload CMake Project.
- Install following packages
Fedora/RHEL Distributions
sudo dnf install vulkan-loader-devel vulkan-validation-layers vulkan-tools glfw-devel assimp-devel spdlog-devel yaml-cpp-devel libshaderc-devel
Ubuntu/Debian Distributions(Not tested)
sudo apt-get install libvulkan-dev vulkan-validationlayers vulkan-tools libglfw3-dev libassimp-dev libspdlog-dev libyaml-cpp-dev libshaderc-dev
These packages are provided by default on most mainstream distros.
- Give shell scripts permission to execute
chmod +x run_editor.sh run_tracy.sh run_gdb.sh install_vulkan_sdk.sh
- Execute
install_vulkan_sdk.shand wait for additional Vulkan dependencies to install.
3. Building Tracy Profiler
- It is optional to build it in VkGenProjects.bat.
- To run it, execute TracyLaunchProfiler.
- Make sure to install these packages
Fedora/RHEL Distributions
sudo dnf install patch dbus-devel wayland-devel
Ubuntu/Debian Distributions(Not tested)
sudo apt-get install patch libdbus-1-dev libwayland-dev
- Run the following commands to build Tracy
cmake -S . -B build
cmake --build build --config Release --target tracy-profiler --parallel
- To run it, execute run_tracy.sh.
- Advanced UI Features
- Cascaded Shadow Maps

