This sample shows fully GPU-driven rendering through work graphs and mesh nodes in action. If you wish to learn more about this sample, work graphs or mesh nodes, you can check out our accompanying blog post on GPUOpen.
To build the Work Graphs Mesh Node Sample, you must first install the following tools:
- CMake 3.17
- Visual Studio 2019
- Windows 10 SDK 10.0.18362.0
- Vulkan SDK 1.3.239 (build dependency of Cauldron)
You will also need a mesh node compatible driver. Information on driver availability can be found here.
Clone the repository
git clone https://github.com/GPUOpen-LibrariesAndSDKs/WorkGraphsMeshNodeSample.git
Inside the cloned repository, run
cmake -B build .
This will download the FidelityFX SDK, Agility SDK and Direct X Shader Compiler and put them all together with the sample project.
You can find the scripts for this in the imported
folder.
Open the generated Visual Studio project with
cmake --open build
Build & run the MeshNodeSample
project.
Key | Action |
---|---|
Left Mouse + Drag | Rotates the camera view direction. |
Mouse wheel | Increase/Decrease camera movement speed. |
A | Strafe the camera to the left. |
W | Move the camera forward. |
S | Strafe the camera to the right. |
D | Move the camera backward. |
Q | Move the camera upwards. |
E | Move the camera downwards. |
F1 | Toggles the main UI on/off. |
F2 | Toggles the performance UI on/off. |
F3 | Toggles the message log UI on/off. (Defaults to on in debug and off in release) |
M | Toggles magnifying glass. |
L | Toggles magnifying glass lock when enabled. |
ESC | Shutsdown and quits sample. |
Alt-Enter | Toggles fullscreen mode. |