Sunday, May 29, 2022

PrBoom: Ray Traced [Vulkan]




3D Vision fix for PrBoom: Ray Traced, which allows you to play the first Doom game with ray tracing. Last github release tested: 1.0.7.

A GPU that supports ray tracing is required to make it work. I only have a Nvidia GPU, so I can't ensure first hand that AMD will work.

This fix is done only in frame sequential mode and not in single frame stereo, meaning that low fps will feel bad and unsynchronized between the eyes (because they are). Try to maintain 60fps or close to it. Thankfully this is a game that doesn't look bad at low resolutions. If at some point I learn how to convert the fix to single frame stereo, I'll do it.

For Nvidia GPUs, you need drivers newer than 452.06 (I used 512.95, so think about them as the minimum). With 452.06, the game will just refuse to run.


Fix in Vulkan done with Vk3DVision. You need to download Vk3DVision on its own, because the fix from this blog post is just the profile for the game.

For outputs different than 3D Vision, check and configure the "Vk3DVision\Profiles\prboom-rt\Vk3DVision.ini" file or read the Vk3DVision manual.


Fixed

  • Ray tracing shader.
  • Partially fixed denoiser, but disabled by default. With a hotkey to optionally enable it.
  • Stereoized non RTX geometry.

Known issues
  • The denoiser (if enabled with the "p" key) is only partially fixed and it can negatively affect some reflections. I would only recommend enabling it for very dark areas to avoid heavy flickering.

Installation
  • Install PrBoom: Ray Traced, the Doom wad you need, and mods if you want. 
  • I recommend running the game at least once first and configuring all the settings and output resolution.
  • Download Vk3DVision and unzip it anywhere, if you don't have it already. Version 4.19.20 at the very least.
  • Download this file and extract its contents in your "Vk3DVision\Profiles" folder, which comes with Vk3DVision.
  • Open "Vk3DVision.exe" and then run the game exe, which should be called "prboom-plus.exe". By default the presentation is configured for 3D Vision monitors in DX9. Open "Vk3DVision\Profiles\prboom-rt\Vk3DVision.ini" and change the "Stereo3DViewMode = 3DVision" line to what you need.
  • Do not use any of these settings:
    • VIDEO MODE other than "RT".
    • NVIDIA DLSS
    • CRT INTERLACING
  • Configure separation and convergence to your liking in "Vk3DVision.ini". Defaults are 160 and 0.15 respectively. Since it's a first person mode, you probably can set your preferred settings ingame, write them in the ini and forget about them. The gun position isn't a static 2D sprite. It has a real world position so with a good convergence level (like default) it will converge more than what you'd want. You'll have to learn to "see through" the weapon unless you want a pretty flat experience with lower convergence.

Recommendations
  • Unless you don't like the look, I recommend playing with the denoiser disabled.
  • If you get a red warning when opening the game in 3D Vision, try opening a 3D screenshot before playing the game (you can do it after too, if you alt+tab out).
  • Set LIGHT GI BOUNCES to "1" or "2 FOR POLY LIGHTS" to avoid a big performance drop.
  • Use the FLASHLIGHT setting at DEFAULT. It looks better.
  • If you want to admire the graphics better, enable mouselook in the options.
  • Use a RENDER SIZE as low as you need to get high enough fps to feel good playing it.

Hotkeys (Vulkan)
  • p: toggle to enable the denoiser. It will make reflections somewhat incorrect, but dark areas will flicker less.


If you liked the fix and want to contribute for more future fixes, you can donate to this PayPal account: masterotakusuko@gmail.com
Or you can join my Patreon: https://www.patreon.com/masterotaku

1 comment:

  1. Hello! I don't get it. I have installed 512.15 driver with drivers for controller and 3dvision. I have set VK3DVision with profiles (prBoom and Quake 2 RTX) and run it as admin. And 3D is off. Is this the right way ?

    ReplyDelete