A Direct3D 12 real-time rendering sandbox for exploring evolving render tech.
- Physically-based shading
- Render graph handling all resources, barriers, and scheduling
- Indirect GPU-driven rendering, hi-z occlusion and frustum mesh culling performed in compute shaders
- Fully bindless resources (shader model 6.6+)
- Precomputed atmospheric scattering model
- Clustered forward light rendering
- Image-based lighting
- Bloom
- Simple editor
After cloning the repository, the included premake5 executable can be used to generate a solution file. The following command will produce a Visual Studio 2022 solution:
$ .\premake5.exe vs2022
This .sln
file can be opened in VS, and the Build Solution button can be used. MSBuild can be used manually if desired instead.
After getting the project compiled, you'll need the sample asset(s) to start the editor. For now, asset paths are hardcoded in Engine.cpp
. To get the assets, unzip this file into VanguardEngine/Assets/
.
From here, you can start the executable. Below are some errors you might run into and their solution:
Error: Using the D3D12 SDKLayers dll requires that the latest SDKLayers for Windows 10 is installed
Solution: download theGraphics Tools
additional feature for Windows 11. This can be found in theOptional Features
section of the Windows Settings app.
Error: Failed to load asset 'asset-name.glb'
Solution: unzip the models zip file from the link above into the correct path and run again.