Immersive Visuals - DLSS 5 - MFG

! (https://ko-fi.com/lexo1000) The Problem On Vulkan, Baldur's Gate 3 only uses DLSS Super Resolution (DLAA included). Everything else a recent RTX card can do is left unused, and one thing looks wrong: - No frame generation: an RTX 50 series card can create up to three extra frames for every frame the game renders, but the game never asks for them. - No DLSS 5 Neural Rendering: NVIDIA's neural renderer, which refines the image (fine detail, local contrast, lighting) just before Super Resolution

0浏览
0下载点击
0点赞
0收藏

关于这个 Mod

[

](https://ko-fi.com/lexo1000)

The Problem

On Vulkan, Baldur's Gate 3 only uses DLSS Super Resolution (DLAA included). Everything else a recent RTX card can do is left unused, and one thing looks wrong:

  • No frame generation: an RTX 50 series card can create up to three extra frames for every frame the game renders, but the game never asks for them.
  • No DLSS 5 Neural Rendering: NVIDIA's neural renderer, which refines the image (fine detail, local contrast, lighting) just before Super Resolution, is not in the game.
  • A soft picture: DLSS no longer sharpens by itself, so the image it returns is only as sharp as its model made it.
  • A suspicious HDR announcement: with HDR on, the game tells your display that its peak brightness is 10,000,000 nits and its black level 1 nit. Those numbers look like a unit mix-up.

What this mod does

Immersive Visuals is one small native DLL, loaded by Native Mod Loader, that plugs into the game's own DLSS and Vulkan calls and adds:

  • DLSS Multi Frame Generation x2 / x3 / x4: NVIDIA's own frame generation (Streamline), with Reflex and smooth frame pacing. It switches itself off during loading screens and menus, and (new in 1.0.3, with the optional in-game menu installed: it is what tells the DLL that a menu is open) while the Escape menu, the options, or the saving and loading pages are open, so the scene moving behind a menu does not ghost through it (the title screen, the inventory and the character windows are not concerned); an option in the in-game menu turns that off. x2 is the default; x3 and x4 need an RTX 50 series card.
  • DLSS 5 Neural Rendering, run on the image right before Super Resolution, so the rendered frames and the generated ones benefit. You choose its intensity, its style (Standard, Natural, Cinematic), its local structure and local tone, and its working resolution (100 %, 75 % by default, or 50 %).
  • A sharpening pass after Super Resolution (AMD's RCAS, using the game's depth so that no bright or dark rim forms around silhouettes), so the generated frames are sharpened too. On by default.
  • A correction of the HDR information sent to your display, with the exact peak brightness you want announced. On by default: untick it if the picture looks worse on your display.
  • Camera motion for frame generation (new in 1.0.1): the game does not tell the mod where its camera is, so frame generation used to be told that the camera never moves. The mod now works the camera's movement out from the depth and motion vectors the game already gives DLSS, and hands it to frame generation. In my tests the generated frames follow a camera that moves sideways or circles something more faithfully; it changes nothing when the camera only turns on the spot. On by default, one checkbox in the menu.
  • An optional in-game menu (through Mod Configuration Menu) with all of the above, and a Show status button that tells what is really running and what each part costs on the GPU.

No ReShade, no OptiScaler, no overlay: the mod plugs straight into the game's own DLSS and Vulkan calls.

Early release. The mod hooks the game's renderer, and Neural Rendering (DLSS 5) is an NGX feature that NVIDIA does not document for mods. It was developed and tested on one machine (RTX 5080, driver 617.42, Windows 11, 4K HDR display, BG3 Patch 8 Hotfix 10, Vulkan). If something goes wrong there is a safe mode: see the FAQ.

Which file should I download?

  • Main file (required): Immersive Visuals - bin. Extract it into your game folder. It holds the mod's DLL, NVIDIA's Streamline runtime and NVIDIA's DLSS DLLs (nvngx_dlssnr.dll and nvngx_dlss.dll), about 140 MB. It works on its own: the options are in an INI file.
  • Optional file: Immersive Visuals - Mod Manager (in-game menu). A small Script Extender mod for Mod Configuration Menu, as a zip for BG3 Mod Manager: every option in four tabs, a status button, your choices saved automatically.

Requirements

  • Baldur's Gate 3 in Vulkan mode, with DLSS enabled in the video settings (any mode, or DLAA).
  • An NVIDIA RTX 50 series GPU, driver 616.56 or newer, Windows 11, hardware-accelerated GPU scheduling on. (RTX 40 series, AMD, Intel: see the FAQ.)
  • Native Mod Loader (it loads every DLL of bin\NativeMods).
  • For Neural Rendering: NVIDIA's nvngx_dlssnr.dll (DLSS 5 Neural Rendering, version 310.8.0.0, NVIDIA-signed). It is in the bin file, next to bg3.exe. Without it Neural Rendering does not run; the rest works.
  • The bin file also carries NVIDIA's nvngx_dlss.dll (DLSS Super Resolution, version 310.9.1), which replaces the game's own copy: it is the version this mod was tested with.
  • For the in-game menu only: BG3 Script Extender and Mod Configuration Menu.
  • Remove other frame generation / DLSS injection mods first (OptiScaler, bg3fgvk...): two of them would hook the same calls.

Installation

  • Install Native Mod Loader if you have not yet.
  • Extract the bin file into your game folder (the one that contains bin, for example ...\steamapps\common\Baldurs Gate 3) and say yes to overwrite, so that you get bin\nvngx_dlssnr.dll, bin\nvngx_dlss.dll, bin\NativeMods\ImmersiveVisuals.dll and the folder bin\NativeMods\ImmersiveVisuals_streamline.
  • Optional menu: import the Mod Manager file into BG3 Mod Manager, move it below Mod Configuration Menu, export the order.
  • Start the game in Vulkan and load a save. bin\NativeMods\ImmersiveVisuals.ini is created at the first launch.

Updating: extract the new bin file over the old one, and keep your ImmersiveVisuals.ini: it is not in the zip and it holds your settings (a new version adds what is new to it by itself). If you use the menu, install the new Mod Manager file too (1.0.1 adds the camera motion checkbox, 1.0.3 the "Pause frame generation in menus" checkbox).

Uninstalling: delete ImmersiveVisuals.dll, ImmersiveVisuals_streamline, ImmersiveVisuals-licenses.txt and ImmersiveVisuals.ini from bin\NativeMods, nvngx_dlssnr.dll from bin, and the menu from your Mods folder (its small files are in the folder Script Extender\ImmersiveVisuals of your Larian data folder: menu.json, settings.json, status.json and, since 1.0.3, ui-trace.txt). To get the game's own Super Resolution DLL back, let Steam verify the game files (Properties, Installed files). The mod does not touch your saves or the registry.

In-game menu (optional)

With the Mod Manager file installed, open Mod Configuration Menu and choose Immersive Visuals. Four tabs:

  • Frame generation: on/off, pause in menus on/off, multiplier x2 / x3 / x4, camera motion on/off, and Show status: the measured multiplier, whether the camera motion, Neural Rendering and the sharpening are running and what they cost on the GPU, the model's size, the HDR state, and (since 1.0.3) the versions of the DLL and of the menu.
  • Neural rendering: on/off, intensity, brightness reference (paper white), maximum brightness change, and the model's settings: resolution, style, local structure, local tone. These are built into the model when it is created, so the Apply now button rebuilds it at once (a short hitch, at most 8 times per game session); otherwise they apply at the next launch.
  • Sharpness: on/off and strength.
  • HDR: the correction on/off, the exact peak brightness announced to your display (0 = automatic) and a button that shows what the game sends and what your display is told.

Numbers are shown with one decimal and your choices are saved automatically. The menu is in English only.

Without the menu, the INI file (bin\NativeMods\ImmersiveVisuals.ini, every key is commented) does the same: restart the game after editing it. There are no keyboard shortcuts.

Performance

Measured on an RTX 5080 at 4K (drivers 617.14 to 617.42):

  • Neural Rendering: about 12 ms per frame with the model at 100 %, about 8 ms at 75 % (the default), 3.9 ms at 50 %. The cost grows with the render resolution (about 1.4 ms per megapixel) and is paid once per rendered frame, so a lower DLSS mode makes it cheaper.
  • Sharpening: about 0.17 ms.
  • Frame generation: x2.00 (the default), x3.00 and x4.00 measured when asked for.
  • Camera motion: about 0.01 ms on the GPU and about 0.6 ms of CPU time per frame, on the thread that presents (measured in the game at 4K).

Show status gives the real figures on your machine; the log has them too (lines perf: GPU time).

Compatibility

  • Tested on: BG3 Patch 8 Hotfix 10 (Vulkan), RTX 5080, driver 617.42, Windows 11.
  • Conflicts: OptiScaler, bg3fgvk and any other mod that adds frame generation or injects DLSS: remove them first. In the NVIDIA app, set the game's frame generation override to Use 3D application setting: the override pins the multiplier and swaps Streamline's plugins.
  • Saves: nothing is stored in your saves.

HDR tip: grey, washed-out shadows

The HDR correction above only changes what your display is told: it never changes the picture the game draws. Some players find the game's HDR shadows lifted and grey. The author of the RenoDX HDR mod for Baldur's Gate 3 describes a likely cause: the game's HDR does not account for the gamma curve its pictures were made for. That mod needs DX11 and ReShade, so it cannot run together with this one (Vulkan).

A Windows-side option that does not depend on the game is a set of colour profiles by dylanraga: win11hdr-srgb-to-gamma2.2-icm. It is a separate tool: not part of this mod, and not in the download.

  • What it does: in HDR mode Windows 11 draws SDR content with the piecewise sRGB curve, which is lighter in the shadows than the gamma 2.2 curve most content and displays use. The profiles add a system-wide gamma ramp (a Windows 11 "MHC2" colour profile) that turns that curve into gamma 2.2.
  • The catch, in its author's words: the ramp applies to all content, native HDR games included, so their shadows get slightly darker and may lose detail. You can switch the profile off for other HDR content, or live with it.
  • How: download the profile closest to your Windows "SDR content brightness" (100, 200, 300 or 400 nits, which are the slider values 5, 30, 55 and 80), open Windows' Color Management, press Add, Browse, pick the file, tick Add as HDR Profile (sometimes called "Advanced color"), OK, then select it and press Set as Default Profile.
  • NVIDIA control panel: the desktop colour settings must be on Accurate or Enhanced; the correction does not apply in Reference mode.
  • Undo: set another profile as the default (the usual one is sRGB IEC61966-2.1). The ramp stays when you toggle HDR, so set the right profile again after switching HDR on or off.

It was written for Windows 11 22H2 and tested by its author on an LG C2 OLED: newer Windows builds and other displays may behave differently, and the profile changes the whole desktop, not only the game. Compare with and without on the same dark scene.

FAQ

Q: Which graphics cards work?

A: RTX 50 series: everything. RTX 40 series (not tested, I do not own one): frame generation x2 only (x3 and x4 are RTX 50 features, the mod caps the multiplier at what your driver reports), and the sharpening and the HDR correction should work. Neural Rendering needs an NVIDIA DLL that targets the RTX 50 series, so expect it to be unavailable: set Mode=fg in the INI. AMD and Intel: not supported.

**

Q: Do I need nvngx_dlssnr.dll?**

A: It is in the bin file. Only Neural Rendering needs it: without it Neural Rendering does not run (Show status and the log say so) and the rest works normally.

**

Q: Do I need the in-game menu?**

A: No. The INI file does the same (restart the game after editing it).

**

Q: I get no frame generation.**

A: Check that the game runs in Vulkan (not DX11: the Launch button of some mod managers starts bg3_dx11.exe, where the mod does nothing; start the game from Steam in Vulkan mode, or set the manager to Vulkan), that DLSS is enabled in the video settings, that the game window is in the foreground (generation pauses otherwise), and that the NVIDIA app's override is on Use 3D application setting. Show status says whether generation is on and the multiplier measured (and "No status yet" when the DLL is not running at all).

**

Q: Frame generation stops when I open the Escape menu or the options. Is that a bug?**

A: No, it is on purpose (new in 1.0.3, with the in-game menu installed). A menu drawn over a moving scene makes the generated frames ghost through it, so generation waits while the Escape menu, the options, or the saving and loading pages are open, and resumes the moment you close them. The title screen, the inventory and the character windows are not concerned. To turn it off, untick Pause frame generation in menus in the Frame generation tab. If a menu page is not recognised (generation stays on behind it), please post Script Extender\ImmersiveVisuals\ui-trace.txt: it lists what the script saw on the screen.

**

Q: Black screen, freeze or crash after installing?**

A: Open bin\NativeMods\ImmersiveVisuals.ini and set Mode=probe: the mod then changes nothing and only logs how the game starts. If the game runs, set Mode=fg (frame generation only), then Mode=full. Do the same after a game update. Please post bin\ImmersiveVisuals.log and bin\sl.log when you report a problem.

**

Q: What does the HDR correction really do?**

A: It changes nothing in the picture the game draws, only what your display is told: the correct unit (1000 nits and 0.0001 nit instead of 10,000,000 and 1), or the peak you type. Compare with and without on a dark scene. If nothing changes, your display's HDR mode ignores these numbers (HGiG, for instance). It is on by default: if your picture looks worse with it, untick it in the HDR tab (or set FixMetadata=0 in the INI). Switching it while playing pauses frame generation for about a second and the screen may flash briefly. What it changes depends on your display: feedback is welcome. It does not touch the gamma curve: for grey, washed-out shadows see the HDR tip above.

**

Q: What does "Camera motion for frame generation" do, and why is it not on a rotation?**

A: Frame generation builds an extra frame from two real ones, and it needs to know how the camera moved between them. The game does not say, so the mod estimates it from the depth and motion vectors of the frame (about 3,600 points) and gives frame generation the result; when the points do not agree with one camera movement (a cut, a menu), that frame keeps the old behaviour. The benefit shows when the camera translates (walking, scrolling, circling a character); a camera that only turns on the spot already has all its motion in the motion vectors, so nothing changes, and the shimmer of a very fast turn is frame generation's own: this does not remove it. The benefit was measured in a test scene with an exact ground truth. In Baldur's Gate 3 itself I could check that the method understands the game's data: when the camera moves, about 98 % of the sampled points agree with one camera movement (to about a tenth of a pixel) and the field of view it finds, 55 degrees, is the game's own. How much better the generated frames look to the eye is for you to judge: compare with and without (the checkbox, or CameraMotion=0 in the INI) and tell me what you see. Show status gives the share of recent frames for which a camera movement was found (low means the game's data do not suit the method and frame generation mostly keeps the old behaviour), and the log has the details (lines Camera:).

**

Q: Show status says the sharpening is "plain RCAS". Is something wrong?**

A: Not necessarily. The sharpening uses the game's depth so that no rim forms around silhouettes. If that depth cannot be read (after a game or driver update, for example), the mod keeps sharpening without that protection and Show status says so. bin\ImmersiveVisuals.log gives the reason: please post it if you see this.

**

Q: Is this really DLSS 5, and does NVIDIA support it here?**

A: Neural Rendering is NVIDIA's DLSS 5 technology (a neural model that improves lighting and materials), which NVIDIA ships with games that integrate it themselves. This mod is not an official integration: NVIDIA does not document the feature for mods, it is unsupported there, and a new nvngx_dlssnr.dll may break it. The mod checks the parameters at start-up and switches Neural Rendering off by itself when they do not match: frame generation keeps running.

**

Q: How do I get the vanilla game back?**

A: Switch the features off in the menu, or set Mode=off in the INI, or delete the DLL. The game's original nvngx_dlss.dll comes back when Steam verifies the game files.

Permissions

  • Licence: MIT (the text is in ImmersiveVisuals-licenses.txt, in the download). NVIDIA's files in the download (the Streamline runtime, nvngx_dlss.dll, nvngx_dlssnr.dll) keep NVIDIA's own licence.
  • You may create patches/compatibility files that reference this mod.
  • Please don't reupload the full package elsewhere.

Feedback

This project lives on feedback. If something looks wrong, please copy these files before restarting the game (the mod's log is renamed to ImmersiveVisuals-prev.log at each launch, and sl.log is rewritten), and post them as links (pastebin or a file host) rather than pasting them: bin\ImmersiveVisuals.log (and ImmersiveVisuals-prev.log if you have restarted since) and bin\sl.log. If the mod seems to do nothing, add bin\NativeModLoader.log and tell me whether you play in Vulkan or DirectX 11. For a problem with the pause in menus, add Script Extender\ImmersiveVisuals\ui-trace.txt (see the FAQ). Please also tell me your GPU model, your display (HDR on or off), your Windows and game versions, and any other mod or tool that touches graphics (ReShade, OptiScaler, overlays). If you can compare the HDR correction on your display, or the camera motion checkbox while the camera moves fast, tell me what you see.

Credits

  • NVIDIA: DLSS, Streamline and Reflex.
  • AMD FidelityFX: the RCAS sharpening algorithm (MIT).
  • bg3fgvk by thierbig (MIT): parts of the frame generation plumbing are adapted from it.
  • Microsoft Detours (MIT) and RenoDX by clshortfuse (MIT, the luminance recomposition approach).
  • dylanraga: the Windows colour profiles linked in the HDR tip (a separate tool, not part of the download).

Full notices are in ImmersiveVisuals-licenses.txt in the download.

My Other Mods

NVIDIA, DLSS, GeForce RTX, Reflex and Streamline are trademarks of NVIDIA Corporation. This mod is not affiliated with or endorsed by NVIDIA.

来源与文件

文件说明

Extract into the game folder: Immersive Visuals DLL (Native Mod Loader), Streamline runtime, NVIDIA's nvngx_dlssnr.dll and nvngx_dlss.dll (replaces the game's own).

来源列出的依赖与关系

  • 作者列出的前置:Mod Configuration Menu (MCM) — Not mandatory
  • 作者列出的前置:Baldur's Gate 3 Script Extender (BG3SE)
  • 作者列出的前置:Native Mod Loader

前往 N 网打开所选文件。安装与下载要求以原作者及平台说明为准。

<!-- aoe-mods-source:nexusmods:baldursgate3:25630 -->