FSR
The FSR plugins integrates AMD FidelityFX Super Resolution technology, delivering high-quality visuals with improved performance. This plugin supports Windows (FSR3 and FSR2) and Linux (FSR2) platforms and is compatible with Direct3D12 and Vulkan graphics APIs.
info
The FSR plugins are built into the Render System and is fully integrated with both Tellusim Explorer and Tellusim Executor.
info
The plugins/render/fsr3/extern/lib
directory contains prebuilt FSR3 libraries for Windows.
The plugins/render/fsr2/extern/lib
directory contains prebuilt FSR2 libraries for Windows, Linux.
#include <render/fsr3/include/TellusimRenderFSR3.h>
#include <render/fsr2/include/TellusimRenderFSR2.h>
Example
// Init FSR3
if(!RenderFSR3::init(app.getPlatform())) return false;
// Create FSR3
RenderFSR3 render_fsr3;
if(!render_fsr3.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 FSR3 upscaling
render_fsr3.dispatch(device, compute, frame);
// Final tonemapping and compositing
renderer.dispatchComposite(device, compute, frame, RenderRenderer::FlagCompositeTonemap);