This is a hobby project to build a game engine and eventually a game in my spare time.
This project will likely not build for anyone else at this time.
- libs is where the .lib files should go for third party dependencies
- src/x64/Debug is where .dll files for third party dependencies should go
- SDL_PATH, KTX_PATH etc describe required environment variables.
- SDL3 dll and lib needed
- SDL_PATH must be set to where SDL3's git repo is to find the include headers folder
- SDL must be built and the SDL.dll and SDL.lib files must be added to the project
- KTX
- KTX_PATH needs to be set and built and the dll and lib needed to be added.
- The Vulkan SDK must be installed and the VULKAN_SDK environment variable must be set.
- fastgltf must be statically linked
cd src/libs
git clone git@github.com:spnda/fastgltf.git
cd fastgltf
cmake -B build
- Add .\src\libs\fastgltf\build\fastgltf.vcxproj as a project on Engine
- Add a reference to the fastgltf project on Packager
- Both the Packager and Engine need the src/libs/fastgltf/include included in Additional include directories in project settings
- Hopefull the last three steps just already work since it's committed to the project and solution files.
- TODO: Use git submodules for all of this.
Assets are not included in the repository and the application will immediately halt without them.
This application is hard coded to run on an Nvidia GPU and Windows 11.
- Buffer device address
- Dynamic rendering
- Bindless
- Shader Objects
- One global descriptor set for all images and samplers
- config for physical device to use
- read links in https://github.com/Darianopolis/Links/blob/main/Links.txt
ktx create --format R8G8B8A8_SRGB --generate-mipmap --mipmap-filter box --encode uastc --uastc-quality 0 --zstd 5 --cubemap .\xp.png .\xn.png .\yp.png .\yn.png .\zp.png .\zn.png skybox.ktx2
Then have to open them up in Nvidia Texture Tools and save them to get the VkFormat correct
https://github.com/LunarG/VulkanTools
Apache License 2.0, January 2004
https://github.com/KhronosGroup/KTX-Software
Apache 2.0 license
Copyright (c) Mark Callow, the KTX-Software author; The Khronos Group Inc.
and additional licenses
https://github.com/KhronosGroup/KTX-Software/tree/main/LICENSES
https://github.com/spnda/fastgltf
MIT license
Copyright (c) 2022 - 2024 spnda.
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
MIT License
Copyright (c) 2017-2024 Advanced Micro Devices, Inc.
https://github.com/ocornut/imgui
MIT license
Copyright (c) 2014-2024 Omar Cornut
https://github.com/zeux/volk
MIT license
Copyright (c) 2018-2024 Arseny Kapoulkine
https://github.com/microsoft/DirectXTex
MIT license
Copyright (c) Microsoft Corporation.
https://github.com/nothings/stb/tree/master?tab=License-1-ov-file#readme
MIT License
Copyright (c) 2017 Sean Barrett
https://github.com/vblanco20-1/vulkan-guide
MIT License
Copyright (c) 2022-2024 2016 VkGuide Author
I initially relied a lot on this for developing my scene graph.
https://github.com/Flone-dnb/nameless-engine
MIT License
Copyright (c) 2022-2024 Alexander Tretyakov
For some of the ktx vma allocation logic.