To run NSS in your Unreal Engine project, install and configure the following:
NNERuntimeRDGMLExtensionsForVulkan
zip you downloaded in a previous step. The Vulkan layer configuration activates the ML Emulation Layer for Vulkan, which implements the ML extensions for Vulkan.NSS
(the inference and model interface) and NNERuntimeRDGMLExtensionsForVulkan
(which connects Unreal’s Render Dependency Graph to the ML extensions for Vulkan).These components allow you to run NSS in Unreal Engine, using ML emulation layers for Vulkan for development and testing.
Go to the Vulkan SDK landing page and download the SDK Installer for Windows. After you have run the installer, you can move on to the next step.
Vulkan Configurator is a program that will run the emulation layers in the background when you want to utilize them with Unreal Engine.
To emulate the ML extensions for Vulkan:
NSS
.
<download-path>/NNERuntimeRDGMLExtensionsForVulkan/MLEmulationLayerForVulkan
Figure 1: Add Vulkan layer path.
Figure 2: Verify layer ordering and scope.
Keep the Vulkan Configurator running to enable the emulation layers during engine execution.
Figure 3: Create a new C++ project in Unreal Engine.
Ctrl+Shift+B
.After the build is finished, open your project in Unreal Engine.
By default, Unreal uses DirectX. Instead, you need to choose Vulkan as the default RHI:
Project Settings > Platform > Windows > Targeted RHIs > Default RHI
Figure 4: Set Vulkan as the default RHI.
Plugins
..zips
into the new directory:NNERuntimeRDGMLExtensionsForVulkan
NSS
NSS
and NNERuntimeRDGMLExtensionsForVulkan
as shown. Restart Unreal Engine if prompted.Figure 5: Verify plugin installation in Unreal Engine.
With the emulation layers and plugins configured, you’re ready to run Neural Super Sampling in Unreal Engine. Continue to the next section to test the integration.