DLSS
The DLSS plugin integrates NVIDIA Deep Learning Super Sampling technology to enable AI-powered image upscaling, delivering high-quality visuals with improved performance. It automatically performs deferred texture decomposition into dedicated roughness and metallic textures required as input for DLSS processing. This plugin supports Windows and Linux platforms and is compatible with Direct3D12, Direct3D11, and Vulkan graphics APIs.
info
The DLSS plugin is built into the Render System and is fully integrated with both Tellusim Explorer and Tellusim Executor.
#include <render/dlss/include/TellusimRenderDLSS.h>
Example
// Init DLSS (to enable required Vulkan extensions)
if(!RenderDLSS::init(app.getPlatform())) return false;
// Create DLSS
RenderDLSS render_dlss;
if(!render_dlss.create(device)) return false;
// light texture
renderer.dispatchLight(device, compute, frame, renderer_flags);
// Generate occluder texture
renderer.dispatchOccluder(device, compute, frame, renderer_flags);
// Calculate luminance for exposure adaptation
renderer.dispatchLuminance(device, compute, frame, renderer_flags);
// Run DLSS upscaling
render_dlss.dispatch(device, compute, frame);
// Final tonemapping and compositing
renderer.dispatchComposite(device, compute, frame, RenderRenderer::FlagCompositeTonemap);