[GH-ISSUE #2922] DLSS, FSR, XeSS, and Frame Generation Support #754

Open
opened 2026-11-02 15:41:39 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @dtwotwo on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2922

Are there any plans to implement modern upscaling technologies such as NVIDIA DLSS, AMD FSR, and Intel XeSS, along with frame generation and native-resolution anti-aliasing options like DLAA and FSR Native AA?

These features could significantly improve performance and image quality, especially at higher resolutions and render distances.

It would be awesome to see them implemented in Horizon in the future!

Originally created by @dtwotwo on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2922 Are there any plans to implement modern upscaling technologies such as NVIDIA DLSS, AMD FSR, and Intel XeSS, along with frame generation and native-resolution anti-aliasing options like DLAA and FSR Native AA? These features could significantly improve performance and image quality, especially at higher resolutions and render distances. It would be awesome to see them implemented in Horizon in the future!
Author
Owner

@johalun commented on GitHub (Oct 28, 2026):

Slightly related. I'd be happy with just a reduced resolution option for highdpi displays. Like the "half resolution on macos" option in sodium extra. Playing with shaders in 5k is rough.

<!-- gh-comment-id:6469225722 --> @johalun commented on GitHub (Oct 28, 2026): Slightly related. I'd be happy with just a reduced resolution option for highdpi displays. Like the "half resolution on macos" option in sodium extra. Playing with shaders in 5k is rough.
Author
Owner

@Lostpold88 commented on GitHub (Nov 1, 2026):

🤖 Agent: comment by Lostpold88's AI agent (Antigravity), not by Lostpold88 personally.

Quick status update on where upscaling, AA, High-DPI scaling, and Frame Generation currently stand in Horizon:

Landed / In review

  • Resolution Scale (High-DPI / 5K friendly): Already on main (resolutionScale in Advanced Graphics → Display / horizon-graphics.txt, 0.5×–2.0×) — @johalun this covers half-resolution rendering on 5K macOS displays while keeping the HUD sharp at native window resolution.
  • Anti-aliasing & Upscaling (#3439, on main): FXAA, native-resolution jittered TAA (8-sample Halton + depth reprojection + 3×3 neighbourhood clamp), and TAA Upscaling at FSR/DLSS ratios (Native 1×, Quality 1.5×, Balanced 1.7×, Performance 2×, Ultra Performance 3×) in gfx/world_post.rs.
  • FSR 3.1 Frame Generation in pure WGSL (cross-platform Vulkan / Metal / DX12):
    • #3762 (on main): FSR 3.1 optical flow (gfx/frame_gen/optical_flow.rs).
    • #3763 (on main): FSR 3.1 frame interpolation (gfx/frame_gen/interpolation.rs).
    • #5694 (on main): Per-vertex entity motion vectors for mobs and dropped items (gfx/frame_gen/motion.rs).
    • #5696 (open, approved): Frame Generation setting (Off / FSR 3.1), halfway first-person hand interpolation, dedicated present thread, and F3 generated-frame readout.

(Why WGSL FSR 3.1 instead of vendor DLSS / XeSS C++ SDKs: Horizon's renderer runs on pure Rust + wgpu/WGSL across Vulkan, Metal, and DX12 without proprietary C++ binary blobs or vendor driver locks.)

Still open / Possible follow-ups

  • Negative mipmap LOD bias when upscaling: Currently upscaled views keep the lower render resolution's mip level, making distant blocks softer than Native (docs/graphics.md); applying a negative texture LOD bias (569X\log_2(\text{upscale})$) would preserve native texture sharpness.
  • Sharpening / spatial-temporal upscaler: Adding an optional FidelityFX RCAS sharpening pass (or full FSR spatial-temporal upscaling + Native AA) on top of world_post.
  • Broader entity motion coverage: Extending mark_motion (#5694) beyond mobs and dropped items to fast-moving projectiles/arrows, boats, minecarts, primed TNT, and falling blocks.
  • HDR + Frame Generation: Frame generation currently runs in 8-bit SDR and pauses while HDR output or shader-pack post passes are active.
<!-- gh-comment-id:6559849849 --> @Lostpold88 commented on GitHub (Nov 1, 2026): 🤖 Agent: comment by Lostpold88's AI agent (Antigravity), not by Lostpold88 personally. Quick status update on where upscaling, AA, High-DPI scaling, and Frame Generation currently stand in Horizon: ### Landed / In review - **Resolution Scale (High-DPI / 5K friendly):** Already on `main` (`resolutionScale` in **Advanced Graphics → Display** / `horizon-graphics.txt`, `0.5×–2.0×`) — @johalun this covers half-resolution rendering on 5K macOS displays while keeping the HUD sharp at native window resolution. - **Anti-aliasing & Upscaling (#3439, on `main`):** FXAA, native-resolution jittered **TAA** (8-sample Halton + depth reprojection + 3×3 neighbourhood clamp), and **TAA Upscaling** at FSR/DLSS ratios (**Native 1×**, **Quality 1.5×**, **Balanced 1.7×**, **Performance 2×**, **Ultra Performance 3×**) in `gfx/world_post.rs`. - **FSR 3.1 Frame Generation in pure WGSL (cross-platform Vulkan / Metal / DX12):** - #3762 (on `main`): FSR 3.1 optical flow (`gfx/frame_gen/optical_flow.rs`). - #3763 (on `main`): FSR 3.1 frame interpolation (`gfx/frame_gen/interpolation.rs`). - #5694 (on `main`): Per-vertex entity motion vectors for mobs and dropped items (`gfx/frame_gen/motion.rs`). - #5696 (open, approved): **Frame Generation** setting (`Off` / `FSR 3.1`), halfway first-person hand interpolation, dedicated present thread, and F3 generated-frame readout. *(Why WGSL FSR 3.1 instead of vendor DLSS / XeSS C++ SDKs: Horizon's renderer runs on pure Rust + `wgpu`/WGSL across Vulkan, Metal, and DX12 without proprietary C++ binary blobs or vendor driver locks.)* ### Still open / Possible follow-ups - **Negative mipmap LOD bias when upscaling:** Currently upscaled views keep the lower render resolution's mip level, making distant blocks softer than Native (`docs/graphics.md`); applying a negative texture LOD bias (569X\log_2(\text{upscale})$) would preserve native texture sharpness. - **Sharpening / spatial-temporal upscaler:** Adding an optional FidelityFX RCAS sharpening pass (or full FSR spatial-temporal upscaling + Native AA) on top of `world_post`. - **Broader entity motion coverage:** Extending `mark_motion` (#5694) beyond mobs and dropped items to fast-moving projectiles/arrows, boats, minecarts, primed TNT, and falling blocks. - **HDR + Frame Generation:** Frame generation currently runs in 8-bit SDR and pauses while HDR output or shader-pack post passes are active.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#754
No description provided.