Skip to content

Releases

Baked PBR v1 for Doom 3 / RoE / Lost Mission

Choose a tag to compare

@Inkub0 Inkub0 released this 16 Nov 14:45

Optional drop-in PBR sidecar packs: generated roughness, metalness and ambient-occlusion maps for every level and md5 model, so surfaces vary across the texture instead of using one flat value per material. Independent of the DUDE version; one set serves many releases.

Copy each pack into its own game folder (they are not merged, because Resurrection of Evil and The Lost Mission redefine some Doom 3 materials):

  • z_pbr_sidecars.pk4 into base/ (Doom 3)
  • z_pbr_sidecars_roe.pk4 into d3xp/ (Resurrection of Evil)
  • z_pbr_sidecars_lm.pk4 into d3le/ (The Lost Mission)

Needs DUDE build at least 0.9.10 (0.9.9 and older does not read sidecar textures). Remove a pack to go back to the PBR table's flat values. The PBR editor's "All sidecars" tab can adjust all sidecars at once on top of the pack.

DUDE 0.9.9

Choose a tag to compare

@Inkub0 Inkub0 released this 12 Nov 17:04

DUDE 0.9.9: Steadier on Stroggos

A stability and Quake 4 release on top of 0.9.8. It fixes the crashes reported since 0.9.8 (GitHub #8, #10, #11, #14 and the Quake 4 MCC landing), finishes the Quake 4 port's rough edges (terrain blends, smooth motion above 60 fps, running by default, its own window icon), adds a playable third-person camera, and makes texture loading much faster: a quality preset change now takes well under a second, and the Vulkan renderer uses compressed textures on the lower presets.

Crash fixes

  • Random crashes since 0.9.7 (GitHub #10). With frame interpolation (high fps), a smoke puff's vertices could be freed twice when its light surfaces outlived the puff, corrupting memory that a later level change tripped over (often at a level start, for example when hell breaks loose in Mars City Underground). Fixed at the source.
  • "Assertion failed" dialogs and the crashes behind them (GitHub #11, #14). The release builds stopped on internal consistency checks that the original games compiled out, for example one of Raven's own self-correcting checks in the Quake 4 hangar. A failed check is now written to the log once and the game carries on, as the original games did.
  • Quake 4: crash loading mcc_1, and when the MCC ship lands. The map's navigation file for one creature size is an empty stub that was read as a real one; it is now treated as absent. The landing crash was one of the checks above, now harmless.
  • Fullscreen on Wayland (GitHub #8, Hyprland). Opening the Graphics settings in fullscreen aborted when the window manager had changed the fullscreen state on its own. DUDE now follows the window's real state. The problem occurred on Wayland, and it's fixed there. Hyprland should behave similarly.
  • OpenGL 3: crash when changing the quality preset with a level loaded. The settings menu's own OpenGL loader went stale after the renderer restarted.
  • Linux: DUDE starts from Steam. The Linux build no longer links libcurl, whose Steam runtime copy refused to load it (./dude # %command% in the Launch Options now works). libcurl only served multiplayer pak downloads.
  • Quake 4 paks copied into Doom 3's base/ now stop with a message saying so, instead of "bad type: 15". Following install instructions should avoid this problem in the first place.
  • Frozen picture with ray tracing (GitHub #12, Intel Arc). Every ray is checked before it is traced, so an invalid ray can no longer lose the GPU. If the GPU is lost anyway, DUDE restarts the renderer by itself (up to 3 times a session, r_vkDeviceLostRestart) instead of freezing; from the second loss in a session it also steps ray tracing down one level for the rest of that session, without touching your saved settings. This is not a proper fix, but I don't have an Arc card to work with it.

Quake 4

  • Terrain blends show as in Raven's game (GitHub #18). Ground that crossfades between soil, sand and rock (the canyons from the second level on) rendered as a single coarse rock layer, and burn marks painted into the map were missing: Quake 4's map files leave out a vertex's colour when it is the default, and DUDE filled the gap with white instead of black.
  • Smooth above 60 fps (GitHub #13). The Quake 4 game library now draws characters, the view, weapons, effects and particles between game tics, as Doom 3 already did; with frame interpolation on, 144 fps now looks like 144 fps. Doom 3's effects, particles and animated materials are drawn between tics too.
  • You run by default, Shift walks, as in the original Quake 4 (it walked at half speed in 0.9.8).
  • The default brightness is Quake 4's own (1.2). Existing Quake 4 configs are updated once on the first start.
  • The window and taskbar show Quake 4's icon (GitHub #19), read from the Quake4.exe in your install (DUDE ships none of Quake 4's art). Without it, DUDE's own icon is used.
  • Bullet-hole highlights follow the light. Quake 4's bullet holes carry a painted-on shine at full strength, so they glowed on unlit walls; the shine is now scaled by the light on the wall (r_decalLitHighlights, on by default, off at Potato, the faithful floor).
  • Path Tracing lighting no longer trails tessellated characters. Quake 4's marines and talking heads (and Doom 3's characters with tessellation on) had no animation motion, so their lighting lagged their movement by up to a second.

Playable third person

pm_thirdPerson 1, or F10 → Game Options → Camera, in Doom 3 and Quake 4: the HUD stays on, the crosshair sits where your weapon actually points, the camera frames over your right shoulder (pm_thirdPersonSide, distance and height in the same menu), and your body casts a shadow.

Faster texture loading, less video memory

  • Quality preset changes in about half a second. A preset that changes texture compression reloads the textures instead of restarting the renderer, decoded on every CPU core while the finished ones upload: OpenGL 3 went from about 16 s to under 1.5 s, Vulkan from 2.0 s to 0.4 to 0.5 s.
  • Vulkan uses compressed textures at Potato, Low and Medium: it reads the games' own .dds textures and compresses the rest on load (VRAM use at Medium about 14 % instead of 23 % on a 12 GB card). High and above stay uncompressed, as before. OpenGL 3 compresses at the same three presets, and every preset now loads full-size textures (an old Quake 4 low-detail setting could keep them shrunk).
  • Faster level loads. Textures load on all cores without waiting between batches (3.5 → 1.6 s on a Doom 3 level), and the height fields that parallax and tessellation integrate out of the normal maps are cached on disk after the first load (generated/heightfields/ in your DUDE folder, r_heightFieldCache), which cuts a second load of the same level by about 30 % (3.5 → 2.4 s).
  • Tessellated characters bake on the GPU. Quake 4 levels with many tessellated characters spent up to half a minute preparing them at load; that is now about a second.
  • No per-frame index buffers for animated characters on Vulkan. Up to about 3,300 buffers a second were created and freed in a busy Quake 4 fight (and flooded the log with system-RAM warnings when Resizable BAR is off); now about 12.

Visuals

  • RT contact shadows: small, sharp contact shadows traced through the ray-traced scene (feet, props on tables, weapon detail), on in the ray-traced presets from High up (Graphics → Shadows).
  • Screen-space contact shadows without the dots: a smoother march, retuned defaults, and the quality presets now set them (off at Potato and Low, on from Medium). Configs still on the old defaults are moved once.
  • RT shadow blur retuned: new defaults for the ray-traced shadow blur and RT contact shadows; configs on the old defaults are moved once, deliberate values stay.
  • OpenGL 3: no more black squares for a frame or two when firing, reloading or hitting enemies (soft particles sampled a stale texture).
  • No black face on some models (the medkit, among others): degenerate texture coordinates produced invalid tangents with the SSE4.1 math.
  • The HUD's "Downloading PDA" bar no longer draws off-centre after loading a save made while it was showing.
  • Vulkan: materials with their own shader programs (mods, some effects) compile again in the release builds; they failed for want of a shader header that only the build machine had.

For developers

  • r_heightFieldCache (above); the load and reloadImages prints split the worker time by phase and say why a height field missed the cache.
  • com_speeds prints precise milliseconds and a GPU column.
  • Vulkan validation messages name the render pass they came from; new colour targets and storage images start zeroed.
  • tools/bench: a 0.9.8-versus-current timedemo set and a CPU frontend/backend split set.
  • The ASAN build gives every block-pool allocation its own heap block, so pool double frees are caught where they happen.
  • No build-machine paths in the release binaries.
  • A structural pass split the largest renderer and Vulkan functions by stage, with identical output.

Upgrading from 0.9.8

  • Savegames are unaffected: 0.9.9 loads 0.9.8's saves.
  • Quake 4: update both archives together. The 0.9.9 Quake 4 game library does not work with DUDE 0.9.8. The 0.9.8 library still runs on DUDE 0.9.9, but without the smooth motion above 60 fps and the third-person camera.
  • A few settings move once on the first start (Quake 4 running and brightness, contact shadows, RT shadow blur, decal highlights at Potato), only where your config still holds an old default or a preset's value. Nothing else is reset.

Known limitations

  • Emissive Mode is still experimental and ships off.
  • Quake 4 multiplayer is not supported yet.

Setup for Doom 3 (same as 0.9.8)

You need the original DOOM 3 / Resurrection of Evil game data (base/*.pk4, d3xp/*.pk4) from your own copy (Steam/GOG classic, not the BFG Edition). Step by step: the install guide.

  • Windows (64-bit): unzip and copy the contents of dude-0.9.9-win64 into your Doom 3 directory, next to base/ (the included pk4/config files merge into base/ and d3xp/). Or run from anywhere with +set fs_basepath "C:\path\to\Doom 3".
  • Linux (x86_64): untar and copy the contents into your Doom 3 directory the same way, run ./dude. From Steam, set the game's Launch Options to ./dude # %command%.

Setup for Quake 4 (same as 0.9.8)

DUDE runs the retail Quake 4 single-player campaign from your own install: the same dude executable, on the OpenGL 3.3 and Vulkan renderers and the ray-traced tiers, with DUDE's quality presets. Multiplayer is not supported yet.

  • Download the Quake 4 game library as well: `dude-q4-0....
Read more

DUDE 0.9.8

Choose a tag to compare

@Inkub0 Inkub0 released this 05 Nov 22:05

DUDE 0.9.8: Welcome to Stroggos

Check out the DUDE-Q4 executables in the files if you want to play Quake4 with DUDE !

A Path Tracing and emissive-lighting release on top of 0.9.7. The Path Tracing tier runs about 14 % faster than 0.9.7 (45 % faster in Emissive Mode), and the experimental Emissive Mode shifted to a custom file with an in-game Light Editor to author it. The same executable now runs the retail Quake 4 campaign, with its game library as a separate download (see Quake 4 below).

Related files (best to have)

Ambient Occlusion PAK4 - Doom3
Ambient Occlusion PAK4 - Quake4

Changed since 0.9.7

Path Tracing faster: +14 % fps, +45 % in Emissive Mode

Measured against 0.9.7 (both release builds, demo1 timedemo, 1440p, Path Tracing, RTX 3080 Ti limited to 166 W):

0.9.7 0.9.8
fps 47.8 54.3 +14 %
1 % low 18.9 fps 25.2 fps +33 %
GPU time per frame 19.7 ms 17.4 ms −12 % (−19 % clock for clock)
Emissive Mode: fps 27.9 40.6 +45 %
1 % low 8.7 fps 16.3 fps +87 %
GPU time per frame 33.8 ms 23.2 ms −31 % (−36 % clock for clock)

Most of it is the pass that gives newly revealed pixels extra light samples (about 85 % cheaper), then the direct-light pass (a third cheaper in Emissive Mode). The figures include the retuned denoiser and, in Emissive Mode, the emitters lighting the haze, which both cost time (below). A GPU that is not power-limited runs the new code at a higher clock than 0.9.7's and gains nearer the clock-for-clock figures.

  • The 0.9.7 boost settings are reverted, the largest single gain; existing configs are updated automatically (config schema 4). 0.9.7's fix for shadow smear behind moving characters also gave newly revealed pixels much stronger fresh sampling. That part cost about 2 ms per frame at 1440p (13.97 → 12.02 ms GPU in a Path Tracing Nightmare timedemo on an RTX 3080 Ti) and turned out not to be needed: detecting a shadow leaving a surface is what removed the smear, and that stays. Only that one setting is migrated; nothing else in your config is reset.
  • Rooms near a small fog volume keep their bounce light. The fade that stops ray-traced GI washing out fog took its fog distance from any fog volume in view — the mist inside a fridge was enough to black out a whole room's bounce light (and its ceiling) as soon as the fridge came into view. It now only uses fog the camera is standing in.
  • Ray-traced GI cheaper while you move. Pixels that just came into view get extra direct-light samples; that pass also re-traced their GI bounce from scratch, rebuilding exactly what the main pass had just computed. It now reuses it (the same image): about 2.4 ms less per frame while moving in a Path Tracing Nightmare timedemo at 1440p.
  • Steadier lighting around lights that move. A light the game moves or re-parms every frame (on a lift or door, a projectile, a scripted fade) counted as a brand-new light each frame, which reset the denoiser's history around it every frame. It now keeps its identity for as long as it exists.
  • Path Tracing direct light a little cheaper, same image. The direct-light pass does the same math with fewer GPU instructions: emitter triangles are weighed without normalising vectors, lights behind a surface are rejected before any square root, and a light's projection texture carries its size instead of being queried for every candidate. About 0.4 ms less GPU time per frame (demo1 timedemo, Emissive Mode, 1440p, RTX 3080 Ti: 17.92 → 17.52 ms); the image is unchanged.
  • Newly revealed pixels cheaper, same image. Pixels that just came into view get extra light samples; the pass that added them ran the whole light selection a second time. The main pass now draws those extra samples in its own light selection, so the extra pass only shades them, and the light lists are read ahead. About 0.6 ms less GPU time per frame, likely closer to 1 ms clock for clock (demo1 timedemo, Emissive Mode, 1440p, RTX 3080 Ti: 17.54 → 16.94 ms).
  • Smoother frame pacing at Path Tracing, same image. The direct-light pass needed 128 registers per GPU thread, mostly for code that only runs with debug options; it now needs 96 (RTX 3080 Ti), so a third more of its threads run at once. The pass is about 13 % faster and the 1% lows rise about 5 % (demo1 timedemo, Emissive Mode, 1440p, RTX 3080 Ti: 7.18 → 6.28 ms for the pass, 1% low 28.3 → 29.7 fps). On a power-limited GPU part of the gain goes into a lower clock; a GPU with power headroom gains more.
  • Emissive Mode a little cheaper, same image. Each glowing surface stored the direction it emits in a packed form that every pixel unpacked again for every emitter it considered, in the direct light and in the GI bounce; it is now stored ready to use. About 0.5 ms less GPU time per frame, the direct-light pass about 5 % faster (demo1 timedemo, Emissive Mode, 1440p, RTX 3080 Ti, compared clock for clock).
  • Direct-light denoiser retuned. New defaults for the Path Tracing direct-light denoiser (Debugging → DI Denoiser (ReLAX)): a wider spatial filter (4 A-trous passes), a slightly longer history (450 ms), no anti-firefly clipping, 3 samples for newly revealed pixels and a finer light-change check. Configs that already hold these settings keep their own values. It costs about 0.4 ms of GPU time per frame (the denoiser about 20 % slower), included in the figures above.

Emissive Mode: authored, not guessed

Emissive Mode (Path Tracing tier, Vulkan, off by default) lets the map's self-lit surfaces — light panels, strip lights, door lights — light the scene as real area lights, in place of the placed lights they stand for. Until now it guessed, from geometry alone, which placed light each glowing surface replaced and how bright it should be; too often it guessed wrong (dead ceiling lights, lights counted twice, a fixture inheriting the wrong light).

  • No more guessing. Emissive Mode now reads a per-map setup, emissive/<map>.cfg in your save path: which placed lights are deleted, which surfaces emit, and how. A map without a setup is unchanged: nothing emits and no light is removed.
  • The Light Editor, in game. Bind editLights to a key (or F10 → Debugging → Ray Tracing → RT Emitters → Enter look mode) and keep playing:
    • every placed light is drawn as a sphere (white active, red deleted, yellow overridden) and every glowing surface is tinted (green emits, grey can emit, orange switched off);
    • what you point at turns cyan, with its volume drawn — a light's radius box or projection frustum, a surface's reach — and a label under the crosshair names it;
    • right-click it for a menu with everything that applies to it;
    • Del deletes the light you point at (press again to bring it back) or stops a surface emitting, Ins makes a surface emit, Home solos it, and the mouse wheel changes a surface's brightness (Ctrl: every surface of its material) or a light's.
  • What you can set:
    • Surfaces: emit or not, per surface or for every surface of a material in the map; brightness; reach; physical radiance (the glow's own brightness times a multiplier — new emitters start physical, at the brightness they already had) or matched to the reach; tint; emission profile (bare tube, diffuser panel, globe); one- or two-sided; follow a light, so a surface flickers and pulses with the light it replaces; match a light's power, so it lights the room the way that light did.
    • Lights: delete in Emissive Mode only (normal mode keeps every light), and colour, brightness and radius overrides that apply in Emissive Mode.
    • the lights the engine adds for glowing screens and items (Screens emit light, item glow) are drawn light blue, so you can tell them from the map's own;
    • Solo (Home, or the menu): only the light or surface you point at lights the scene — to see exactly what one light does.
    • Every change shows immediately. Save writes the map's file; unsaved edits are kept in a recovery copy if you change map or quit, and the editor offers them back the next time you open it on that map.
  • Floors under ceiling lights no longer shadow themselves. A surface facing an emitter tested its shadow ray right up to the emitter's own surface and counted itself in shadow: tiled and grated floors under a ceiling panel stayed dark on their flat faces and lit only in the grooves, whatever the brightness.
  • No more fireflies under neon tubes and bulbs. An emitter's shadow ray aimed at its centre, which for a tube lies inside the tube itself: almost every ray was blocked by the light's own surface, and the few that slipped through sparkled. Shadow rays now aim at points on the light's surface, which also gives emitters soft shadows.
  • Emitters light the haze. With volumetric lighting on, the glowing surfaces now light the air around them as the lights they replace did (r_volEmissiveScale, 1 by default; the 32 strongest near you). It costs about 2.3 ms of GPU time per frame in the measurement above; r_volEmissiveScale 0 turns it off.
  • Neon tubes and bulbs bounce light again, and glows that pulse or flicker by themselves now pulse their light too (before, they lit the room at one constant level).
  • Emitters light as true area lights: no round hot spot where the old light sat, and walls behind pillars or alcove frames no longer go dark because the old light's origin was hidden.
  • Glowing doors and props split per fixture: a model with several lit parts (a door with a light on each side) is one surface per part, so each can be set on its own.
  • Cleaner emitter light, for less GPU time. Each pixel now draw...
Read more

Baked AO v1 — Doom 3 / RoE / Lost Mission

Choose a tag to compare

@Inkub0 Inkub0 released this 05 Nov 22:06

Drop-in baked ambient-occlusion pack. Copy z_baked_ao.pk4 into your base/ folder. Independent of the DUDE version; one pack serves many releases.

DUDE 0.9.7

Choose a tag to compare

@Inkub0 Inkub0 released this 29 Oct 12:58

DUDE 0.9.7 — a closer look at Doom 3

A fidelity and bug-fix release on top of 0.9.6.
0.9.6 brought the Path Tracing tier; 0.9.7 goes back over Doom 3 itself. It fixes a few long standing issues, sharpens the path-traced shadows of moving characters, makes the stock HUD widescreen-correct without any pack, and corrects a long list of places where DUDE's GL3/Vulkan renderers or id's own code did not do what Doom 3 intended — ambient lights, window glass, portal skies, soft particles, savegames and more.

Many of those fixes were found the same way: by running a second idTech4 game (Quake 4) through the engine and chasing every difference back to its cause (see Under the hood below).

Changed since 0.9.6

Reported issues

  • Graphics corruption on Path Tracing with a mirror in view
    (#2). Two causes, both fixed: props drawn in more than one batch in a frame (the mirror, sinks, dispensers, pipes) lost their motion vectors after the first batch, so the denoiser and FSR2 dragged old frames across them — the veil and the streaks behind pipes; and ReSTIR direct lighting divided by the mirror's black albedo, leaving a hole the denoiser spread onto the wall.
  • FPS dropping after 10–20 minutes on Communications Transfer
    (#4). The point-light shadow cache never evicted anything, so once it was full every new light was re-rendered every frame until the next map load. It now evicts least-recently-used shadows, and the automatic budget leaves 20% of the card's VRAM free (at least 768 MB) and no longer thrashes when the lights in view don't fit.
    On Vulkan, destroying a render target no longer throws away every cached texture binding (the hitches and "descriptor pool exhausted" warnings in long sessions), the light/entity interaction table grows instead of being dropped when a map outgrows it, and particles no longer create and destroy a GPU buffer per stage per frame.
  • Controller not working on Linux (#3). A fresh install — or a config carried over from dhewm3, whose bindings live in a file DUDE doesn't read — had no gamepad bindings at all. When no pad button is bound, DUDE now applies the default gamepad layout once (the same one Reset Gamepad Bindings uses). Existing bindings are never touched.

Path Tracing tier: sharp shadows on moving characters

  • Much less shadow smear behind NPCs and monsters. ReSTIR's change detection only noticed a shadow arriving on a surface, not one leaving it, so the trailing edge of a moving character's shadow lingered. It now catches both, resets the denoiser's history where the light really changed, and gives low-confidence pixels a stronger fresh sample. Retuned defaults for all of it.
  • Far fewer trails behind characters' details (ears, noses, weapons) when a pose was reused between game tics: the reused frame reported zero animation velocity to the denoiser.
  • Doom 3's ambient lights under RT GI (r_rtgiAmbient, new, default Floor + Fold). With RT GI on, the designers' ambient fill lights used to be switched off entirely and left to the GI to replace — dark where few real lights bounce (Mars outdoors, RoE's Erebus). They now add only what the ray-traced lighting falls short of, and also feed the GI bounce.
  • Neutral HDR look at the top RT presets: RTX and Path Tracing at Ultra and Nightmare now use HDR exposure and gamma of 1.0 for their GI-lit scenes; the raster presets keep exposure 1.3 and gamma 1.20, and picking a preset now sets the exposure too.
  • Faster execution: the chosen light is shaded once instead of twice, last frame's side data is ping-ponged instead of copied, the light grid fills per 4×4×4 block (≈ 0.95 → 0.35 ms), and the per-frame light buffers live in VRAM.

Doom 3, the way id made it

  • Ambient lights shade like vanilla again on the GL3 and Vulkan renderers. They were read as colours instead of a lighting direction, so every ambient light came out magenta-tinted and flat — Communications Transfer's brown Mars ambience rendered dark red-purple. Now neutral and bump-mapped, as id's code draws them.
  • Window glass in a doorway plane draws from both sides. A pane lying exactly in a portal plane was culled from the side it faces (22 such panes in Doom 3, 45 in RoE).
  • Window glass sorted as a decal keeps its reflection. The matte-decal enhancement took some of id's window panes (outdoor_glass1, RoE's gridglass*) for dirt decals and stripped the stage that is the visible pane.
  • RoE / Lost Mission portal skies are rendered as part of the player's view instead of as a second view in front of it. On the temporal and RT paths the sky camera's picture was blended into FSR2 / denoiser history (a double exposure) and could stay black under lit geometry; glass reflection probes in portal-sky maps (Phobos 1–3, Delta X, Hell) baked a frozen picture instead of the sky.
  • Low-res fullscreen effects keep HDR. Frames the game renders into a smaller crop (RoE / LM with g_lowresFullscreenFX 1) lost tone mapping, exposure and bloom.
  • Soft particles only soften the line where a particle meets a wall or the floor. They stay depth-tested, so large smoke and fire no longer show through things in front of them.
  • Savegames from anywhere. DUDE now loads retail Doom 3, dhewm3 and every DUDE 0.9.x savegame. A save whose GUI state no longer matches the installed GUI files (a widescreen pack added or removed, retail data under a mod) used to crash or stop the load; it is now matched window by window, and retried against the other installed copies of the file.
  • Scrolling light textures (cloudscroll) no longer go dark after half a minute at the RT tiers.
  • Debug overlays (r_showLights, debug lines and text) line up under sub-native FSR2.
  • The warning Couldn't load image: } after a map change is gone — an id slip in the PDA
    video/audio defaults, present in retail Doom 3 and dhewm3 alike.

Widescreen without packs

  • The stock HUD, crosshair and multiplayer HUD of Doom 3, RoE and Lost Mission keep their shape on a wide screen — no WideGuis pack needed. The engine anchors the stock files itself; checked window by window against the community pack's hand-placed anchors, it matches. A pack or mod that anchors its own HUD keeps its layout.
  • The death screen fills a wide screen, its backdrop stretched and the menu kept at 4:3.

Feel and options

  • Smoother animation at high frame rates. With render interpolation (com_interpolate), monsters jittered — worst on stairs — because the joints the game sets once per tic (walking IK, look and head joints, ragdolls) stayed put while the body glided. Final poses are now interpolated, and a weapon no longer twitches for a frame entering its reload.
  • Classic 62.5 Hz game tics (Options → Game, off by default): Doom 3 originally ran its game at 16 ms tics, not dhewm3's 60 Hz. Applies at the next map load; recorded demos keep it.
  • Extra lights (g_extraLights, F10 Graphics → New Light Effects, off by default): a fire light on the Lost Soul, and the projectile lights id wrote but commented out (Doom 3, RoE, Lost Mission).
  • Adaptive Shadow Resolution (System → Advanced, off by default): when the point lights in view don't fit the shadow budget, the farthest ones get smaller shadow maps instead of being re-rendered every frame. Softer distant shadows — opt-in.
  • Changing the renderer restarts DUDE (settings are saved first; save your game before switching mid-level). Switching backends inside the running game left state behind and could crash or lose the menu — a fresh start can't.
  • Monitor picker works: the window opens on the monitor chosen in the settings, not the one the mouse happens to be on (the mouse decides only when none is chosen or it isn't connected).
  • Settings menu (F10) reorganised: the Graphics tab is regrouped (GPU and monitor pickers, a restart bar), Debugging is split into four sub-tabs with a search box, and every slider has a reset button plus Restore defaults per group.
  • ctrl+v pastes in the console again.

Sound and language

  • 48 kHz (and 32/24/16/8 kHz) sounds play instead of the default beep — common in custom maps. They are converted once on load; Doom 3's own sounds are untouched.
  • A partial community translation shows missing strings in English instead of as #str_ ids.

Mods

  • Game libraries built for dhewm3 1.5.5 run unchanged again: four places where DUDE's headers had drifted from dhewm3's binary layout are fixed, with a checker to keep it that way, so mods for dhewm3 should run again as intended.
  • +set fs_game d3le from the command line now puts RoE underneath, as the mods menu does.
  • A texture shipped only as a same-path .dds loads, on every renderer.
  • Sliders and lists in menus without widescreen anchors (Lost Mission, many mods) take the click where it lands — they used to jump to "high".

Stability

Rounds of AddressSanitizer runs found and fixed, all in code Doom 3 runs: a use-after-free when a glowing item's fill light was removed mid-frame, another when loading a game from the death screen, an over-read in id's string append, uninitialised contact materials in collision traces, a menu choice reading past its values, and a 64-bit collision-model memory leak.

Under the hood: a second game as a test bench

Doom 3's own data only exercises the paths id's maps happen to use. To find what the engine still got wrong, DUDE started loading a second idTech 4 game — Raven's Quake 4 — through the same renderer, file system, GUI, sound and collision code. It uses the engine differently enough that every mismatch pointed at something: the ambient-light, portal-glass, decal-glass, port...

Read more

DUDE 0.9.6

Choose a tag to compare

@Inkub0 Inkub0 released this 22 Oct 15:35

DUDE 0.9.6 — the Path Tracing tier

A ray-tracing improvement release on top of 0.9.5.
0.9.5 was about speed; 0.9.6 is about the light. The top Vulkan tier is now a full ray-traced Path Tracing path: direct lighting is sampled and denoised with ReSTIR instead of rasterised; a ReGIR light grid and a multi-bounce irradiance cache make that affordable, and the whole stack has been retuned updating the presets so the nightmare path traced should roughly run at 60FPS on a RTX 3080 card at 1440p.

Changed since 0.9.5

Ray-traced direct lighting — the new Path Tracing tier

  • ReSTIR direct illumination. At the Path Tracing tier (Vulkan, top dude_rtx setting) the scene's lights are sampled as area lights through reservoir resampling (ReSTIR DI) and denoised with NRD ReLAX, replacing the rasterised light loop. Soft, correct direct shadows and per-light shading, with the lights that are actually visible in the frame always entering the sample set.
  • ReGIR light grid (r_rtLightGrid*): a world-space grid builds a small per-cell importance set of lights each frame, so the DI gather samples a handful of relevant lights per pixel instead of the whole scene — the single biggest cost cut on the tier (gather time ≈ −68%). Looked up with a per-pixel half-cell jitter to hide the grid, and ranked by each light's own falloff.
  • Multi-bounce irradiance cache: a hashed world-space cache stores bounce irradiance and feeds additional light bounces back into the gather (and serves the GI path tail), so light carries further through a scene for little extra cost. History and resets are tracked in time, not frames, and cells reset only when the DI gradient says the light really changed - flickering lights blend instead of restarting.
  • SH bump detail (r_rtReStirDISH, on at the tier): the denoised direct light is re-modulated per texel against the surface bump/normal, bringing back the fine relief that a reduced-resolution denoised buffer would otherwise flatten.
  • Material fidelity in the gather: skin and flesh get subsurface warmth at the terminator, a full-resolution specular re-shade sharpens highlights, death-fade crossfades blend instead of popping to black, and surfaces with no diffuse stage read black (not white) albedo. Decals no longer pick up a direct-light glint, and per-stage vertex colour is honoured for terrain blends.

Ray-traced GI, AO and shadows

  • GI bounce sampling moved to an R2 low-discrepancy sequence, replacing the interleaved gradient noise whose 45° lattice streaked diagonally through the denoiser. RTAO got the same treatment. Cleaner GI and AO with no extra cost.
  • RT shadows now scale from Medium up to Nightmare instead of only the top tier, and the soft grate shadows take the shape of the shadow-map caster (no more cage-sphere approximation) and soften under the same blur law as the rest of the RT shadows. RT shadow-blur intensity and falloff were retuned softer.
  • Irradiance cache and eye adaptation enable wherever RTGI runs; the cache path tail stays Path-Tracing-only.

A retuned, hand-balanced baseline

  • The ReSTIR DI, RTGI, light-grid, irradiance-cache, RTAO and RT-shadow defaults were all rebaked from my own dialed-in configuration — the cache/quality/frame-time balance that the Path Tracing tier actually ships at. Fresh installs now start from that balance rather than the raw code defaults. The quality presets still own the per-tier enables and resolutions; only the preset-independent "free knobs" were moved.
  • The DI debug / tuning surface in the in-game menu was reorganised into clear groups with every ReLAX and GI denoiser knob exposed, and Film Grain got its own labelled switch + knob block.

Load time

  • Level sounds now decode in parallel across the image/worker threads instead of synchronously inside material parsing — another cut to cold level-load time, on every backend.

Fixes

  • The monster spawn-in flash is toned down and reddened (it was a blinding white pop), in both Doom 3 and Resurrection of Evil.
  • AO bake: eyewear is excluded from the bake and refused at runtime, and translucent surfaces no longer occlude the bake.
  • GPU skinning: the seam weld is decoupled from lighting (crack-free and cut-free), with a toggle in the GPU Offload settings group.

Emissive Mode — experimental, shipping OFF (incomplete)

0.9.6 includes a large amount of in-progress work on an Emissive Mode for the Path Tracing tier - a system that turns a level's self-illuminated surfaces (light fixtures, screens, glowing materials) into real emitters that light the scene directly, with a per-material emitter table and an in-game emitter editor. This feature is not finished and ships disabled by default. It
is not wired into any quality preset and is gated behind its own cvars ("r_rtEmissiveLighting", "r_rtEmissiveTable", "r_rtEmissivePhysical"); leave them off for the intended 0.9.6 experience. It is included only so the work is in the open — treat it as a preview that may change or break, not a supported feature.

Performance notes

The Path Tracing tier is demanding — it is a full ray-traced lighting path. Use it on a capable Vulkan GPU, and lean on FSR2 sub-native upscaling (Graphics → Upscaling, from 0.9.5) and the per-tier resolution/checkerboard controls to hit your frame-time budget. The ReGIR light grid and the irradiance cache are what make the tier playable; both are on automatically at the tier. Measure on your own GPU with the in-game benchmark ("com_timeDemoRealTime 1" then "timeDemo demo1").

Known limitations

  • The Path Tracing tier — ReSTIR DI, the ReGIR light grid, the irradiance cache and the SH bump detail — is Vulkan-only. The OpenGL renderers get the load-time win and the spawn-flash and AO-bake fixes, but none of the ray-traced lighting.
  • Emissive Mode is incomplete and ships off (see above).
  • The retuned defaults only reach fresh installs or a graphics-config reset — an existing config keeps your current values. Delete your graphics settings (or use the in-game reset) to pick up the new baseline.

Setup notes (same as 0.9.5)

If the Vulkan renderer won't start (the OpenGL renderers are unaffected), update or reinstall your GPU driver - the Vulkan driver (the ICD the loader dispatches to) ships with it, and no bundled loader can substitute for a missing or Vulkan-incapable one. On Windows, "vulkan-1.dll" comes from your GPU driver; DUDE deliberately does not ship it. On Linux a current loader is bundled in lib/ as a fallback for old distro loaders, but it still needs your driver's ICD.

Optional download: baked ambient-occlusion pack

dude-0.9.6-baked-ao.zip: precomputed per-material AO maps for subtle contact shading on world surfaces, props and weapons. The world-surface pack was re-baked this release with the bake fixes above (translucent surfaces no longer occlude); the prop and weapon packs are unchanged from 0.9.5. Extract into your Doom 3 directory the same way. Entirely optional, and unused at the Path Tracing tier (ray-traced GI/AO replace it there).

DUDE is GPLv3 — source at https://github.com/Inkub0/dude.

DUDE 0.9.5

Choose a tag to compare

@Inkub0 Inkub0 released this 05 Oct 20:35

DUDE 0.9.5 — Ultra Nightmare run and performance

A performance-focused release on top of 0.9.4.
0.9.4 was about adding heavy ray-traced features; 0.9.5 is about making the engine start
faster and run faster
without taking any of them away. The headline is load time — levels
load in a fraction of the time, on every renderer — and on the Vulkan RT tier a wave of
GPU optimizations plus FSR2 upscaling claw back the cost of the ray tracing.
Nothing was cut to get here: every quality preset renders exactly what it did in 0.9.4. These
are faster paths to the same frames.

A new game mode is also available: "Ultra nightmare" in the fasion of modern doom games:
one life only, cannot save, if you die it's game over.

Changed since 0.9.4

Load time — much faster, on every backend

  • Level loads are dramatically faster. The biggest load cost was hidden inside material
    parsing: every bump material decoded its 2K normal map and ran a 64-iteration Poisson solve
    to build parallax/tessellation height fields — synchronously, during the parse, twice per
    material. That work is now deferred and run in parallel on the image worker threads at
    the end of the load (r_deferLevelGenerators, default on), producing bit-identical pixels.
    A cold hell1 load dropped from ~11.3 s to ~2.6 s (≈4.4×) on the test machine; the win
    scales with how many parallax/tessellated materials a map uses.
  • Particle bounds no longer simulate the same 1000-particle frame a thousand times to get
    a bounding box — a loop that never advanced its own RNG. One sample gives identical bounds
    (~352 ms → ~5 ms).
  • Binary render-model cache (r_binaryModelCache, default on): finished geometry is
    serialized on first load and read back later, skipping re-parse and surface finishing. Keyed
    on source timestamp, engine version and the relevant cvars; self-heals on any mismatch.
  • Already-resident images are no longer re-uploaded on every level load.

Frame time on the Vulkan RT tier

  • FSR2 sub-native upscaling (r_fsrScale, Graphics → Upscaling): render the whole scene
    — every ray-traced pass included — at a lower internal resolution and let FSR2 upscale to
    your display, cutting the cost of everything that runs per scene-pixel. Presets from
    Native AA (100%, pixel-identical to 0.9.4) through Ultra Quality (75%), Quality (67%),
    Balanced (59%) and Performance (50%), plus a custom render-scale slider and a live "renders
    at W×H, upscaled to W×H" readout. Film grain, chromatic aberration and the HUD stay at
    native resolution so text and overlays remain crisp. Vulkan + FSR2 TAA.
  • Volumetric fast-resolve (r_volFastResolve, default on): the light march runs at low
    resolution with temporal reuse and is upsampled at composite, and the default step count was
    halved (12 → 6) with no visible loss — a large cut to the volumetrics cost.
  • Cheaper RT soft shadows: the shadow-blur ray is checkerboarded and reconstructed in the
    blur (r_rtShadowBlurCheckerboard), the per-light blur is skipped where its penumbra is
    sub-pixel, and the intensity/falloff were retuned.
  • Cheaper RT GI and AO: the GI gather hoists its constant work out of the per-sample loop,
    GI resolution is pinned per tier (Ultra 2/3, Nightmare 3/4), and RTAO runs at reduced
    resolution with a tuned NRD history window (r_rtaoResScale, r_rtaoHistory). GI is also
    now fog-aware, so haze no longer washes out the bounce light.
  • Acceleration structures moved to device-local VRAM (storage + scratch), per-frame
    scratch vectors are reused, and animated-BLAS staging is skipped when no RT scene is wanted.
  • Smarter shadow-cache budgeting: the cube-shadow cache sizes itself to actual free VRAM
    (minus a reserve) instead of a flat half, and is dropped entirely when RT Shadows for All
    Lights
    already serves every light.
  • Single-channel maps upload as R8 (AO, parallax, tessellation height) instead of RGBA — a
    third of the VRAM and bandwidth. Plus backend washes: std::sort for the draw-surface sort,
    and a skipped redundant index-buffer rebind on Vulkan.

Smoothness & frame pacing

  • VRR / Adaptive Sync (r_vrr, a new VSync mode): on a G-SYNC / FreeSync display, runs
    vsync-on with an automatic frame cap just below the refresh rate for tear-free, low-latency
    pacing inside the variable-refresh window. Exposed in the in-game menus.

Gameplay

  • Ultra Nightmare difficulty (a fifth skill level, unlocked alongside Nightmare): Nightmare
    combat rules plus permadeath — no manual saves, autosaves only at map starts, and death
    wipes the run and sends you to a GAME OVER screen. Enforced engine-side, so a third-party
    mod DLL that clamps the skill can't quietly downgrade the run's rules. (Distinct from the
    Ultra Nightmare graphics preset — one is how hard it plays, the other how it looks.)

Menus & presets

  • The classic (non-ImGui) System options menu was rebuilt to mirror the Controls page — a
    left-hand category column (Video / Sound / Advanced / Post-Process) switching inline panels
    instead of nested pop-ups — and the refactor was ported to the Resurrection of Evil menu,
    so both campaigns get the same options screen.
  • Ray tracing is decoupled from the quality presets (an orthogonal dude_rtx axis): run
    any preset with RT on or off rather than locking it to the top tier. The graphics config is
    reset once on this schema change so everyone starts from clean, decoupled defaults.

Correctness & robustness

  • A Vulkan correctness/hardening audit landed: robust swapchain recreate, safe NRD recording
    for two denoise passes in a frame, TLAS rebuilds for GPU-skinned shadow casters, exact
    texture-set cache keys, live r_swapInterval changes, real free-VRAM reporting via
    VK_EXT_memory_budget, and a long tail of error-path fixes — validation-clean and stable
    over ~110k frames on the RT tier.
  • Fixed: FSR2 first-frame validation errors, double vision captured at full resolution on the
    RHI backends, and staggered RT soft shadows flickering across cutscene camera cuts.

Performance notes

Load-time numbers are from one machine (hell1) and scale with content, but the speedup is
universal — the same work, done in parallel and deferred, on OpenGL and Vulkan alike. For
frame-time, use the in-game benchmark (com_timeDemoRealTime 1 then timeDemo demo1) to
measure FSR2 and the RT optimizations on your own GPU; on the RT tier, FSR2 Quality/Balanced
is the single biggest lever you have.

Known limitations

  • FSR2 sub-native upscaling, the RT optimizations and VRR auto-capping are Vulkan-only
    (FSR2 needs the FSR2 TAA path). The OpenGL renderers get the load-time and draw-sort wins but
    none of the RT-tier frame-time work.
  • VRR auto-capping relies on the driver running the display in its variable-refresh range
    (confirmed on Wayland; an X11 + NVIDIA mixed-refresh desktop may clamp vsync and not engage
    VRR — a driver limitation, not DUDE's).

Setup (same as 0.9.4)

You need the original DOOM 3 / Resurrection of Evil game data (base/*.pk4,
d3xp/*.pk4) from your own copy (Steam/GOG classic, not the BFG Edition).

  • Windows (64-bit): unzip and copy the contents of dude-0.9.5-win64 into your
    Doom 3 directory, next to base/ (the included pk4/config files merge into base/ and
    d3xp/). Or run from anywhere with +set fs_basepath "C:\path\to\Doom 3".
  • Linux (x86_64): untar and copy the contents into your Doom 3 directory the same way,
    run ./dude.

Renderer selection: +set r_graphicsAPI opengl|opengl3|vulkan or the in-game menu. For the
full RT tier pick the Vulkan renderer and the Ultra Nightmare preset. Configs/saves
live in ~/.local/share/dude (Linux) / Documents/My Games/dude (Windows).

If the Vulkan renderer won't start (the OpenGL renderers are unaffected), update or
reinstall your GPU driver — the Vulkan driver (the ICD the loader dispatches to) ships with it,
and no bundled loader can substitute for a missing or Vulkan-incapable one. On Windows,
vulkan-1.dll comes from your GPU driver; DUDE deliberately does not ship it. On Linux a
current loader is bundled in lib/ as a fallback for old distro loaders, but it still needs
your driver's ICD.

Optional download: baked ambient-occlusion pack

dude-0.9.5-baked-ao.zip (~155 MB): precomputed per-material AO maps for subtle contact
shading on world surfaces, props and weapons. Unchanged from 0.9.4 — skip the re-download if
you already have it. Extract into your Doom 3 directory the same way. Entirely optional, and
unused at the RT tier (GI/RTAO replace it there).

DUDE is GPLv3 — source at https://github.com/Inkub0/dude.

DUDE 0.9.4

Choose a tag to compare

@Inkub0 Inkub0 released this 25 Sep 16:12

DUDE 0.9.4 — RTGI, volumetric lighting, and skin subsurface scattering

A feature release on top of 0.9.3.
Where 0.9.3 turned Ultra Nightmare into a real hybrid ray-traced tier (RT shadows on
every light, RT reflections, RTAO), 0.9.4 pushes it toward full path tracing: light now
bounces — one-bounce ray-traced global illumination — and the air itself scatters light
in volumetric shafts. Reflections cover more of the scene, skin stops reading as plastic,
and there's a proper in-game benchmark to measure it all on your own GPU.

The ray-traced additions need the Vulkan renderer and an RTX / ray-query-capable GPU.
On anything else Ultra Nightmare still falls back cleanly to the Nightmare raster path, and
the non-RT improvements (subsurface skin, anisotropic filtering, tessellation fixes) work on
both the OpenGL 3.3 and Vulkan backends.

Changed since 0.9.3

Ray-traced global illumination (new)

  • One-bounce RT global illumination (r_rtgi, Lighting → RT Global Illumination):
    one cosine-hemisphere ray per pixel gathers the incoming light where it lands — that hit
    shaded by the scene's real lights and emissive surfaces — and adds it back as indirect
    diffuse. Rooms pick up colored bounce light they never had: a red wall bleeds onto the
    floor, a lit corridor spills around a corner. Denoised with NVIDIA NRD, gathered at reduced
    resolution with a depth+normal joint-bilateral upscale and a full-res checkerboard option.
  • GI supersedes both SSAO and RTAO at the RT tier — ambient occlusion is simply this
    same gather with the radiance set to zero, so you run one technique, not three.
  • Part of Ultra Nightmare. Off by default everywhere else — it is a deliberately
    non-vanilla look. Needs the HDR pipeline (r_hdr).

Volumetric lighting (new)

  • Volumetric lighting (r_volumetrics, Ultra Nightmare): the air scatters the scene's
    real lights toward the camera — visible cones under spotlights, shafts through grates,
    monsters cutting dark wedges out of a lit haze. A low-resolution ray march through the
    shared scene-light buffer, composited into the HDR scene after the stock fog.
  • Off by default; enabled only by the Ultra Nightmare preset. Vulkan + ray-query + r_hdr.

Ray-traced reflections (extended)

  • Wider coverage: func_static props and dropped items now reflect the real scene
    instead of rendering black; glass reflects the bumped, live scene rather than a static
    cube map.
  • Per-pixel emissive in RT reflections — glowing screens and panels light their own
    reflection correctly.
  • Reflected hits are lit through the projected-light frustum, so a reflected spotlight
    stops at its cone edge like the real one.
  • Ultra Nightmare runs RT reflections at half resolution with a steadier temporal
    accumulation (the old quarter-res shimmer is gone), and SSR is retired on the RT tier —
    one Reflections settings group, one technique at a time. Glass reflectivity on visors and
    the cockpit is energy-normalized so it no longer blows out.

Ray-traced shadows & AO (refined)

  • Grates and fences cast shadows again under RT lights (r_rtPerforatedShadows): the
    0.9.3 limitation where alpha-tested casters dropped out with RT Shadows for All Lights
    is addressed with per-pixel gating (about +0.24 ms at a grate).
  • Reduced-resolution RTAO (r_rtaoResScale): AO rays and the NRD denoiser run at a
    fraction of the resolution and bilinear-upscale (Ultra Nightmare 0.75), and RTAO no longer
    leaks a bright line along creases.
  • No shadow ray is launched where the light is already black or facing away — measured
    the RT-vs-shadow-map cost gap from ~0.9 ms down to ~0.5–0.6 ms in a light-dense scene.
  • Mirror reflections are clipped to the mirror surface again (no reflection spill onto the
    frame), and soft-shadow blur got a tile fast-path.

Materials & shading

  • Subsurface scattering on skin and Hell flesh (r_skinShading, default on from
    Low up): a cheap wrapped diffuse warms and softens the lighting terminator so faces and
    flesh stop reading as plastic under the PBR GGX lighting. Direct light only, keyed off the
    PBR classifier. Master toggle in Graphics → Lighting, tuning in Debugging.
  • Anisotropic filtering actually works now on the OpenGL 3.3 and Vulkan backends — it was
    silently dead (the backends never reported the hardware capability). Wired into the quality
    presets with a gentle 1/1/2/2/4/4/6 ramp.
  • Tessellation fixes (Vulkan enemy tessellation): displacement is now signed (dents
    as well as bulges), the iris is lifted off the tessellated eye face so eyes stop poking
    through, the min-edge gate is lowered so more of a face tessellates, and the dead seam-weld
    path was removed — mirror seams are no longer pinned in the displacement mask.

Rendering & tone

  • New HDR / tonemap defaults tuned for the GI-lit scene: HDR display gamma
    (r_hdrGamma) defaults to 1.18 to lift shadows without touching the faithful highlights,
    with retuned overbright, bloom (0.1) and lens-flare (0.25) defaults.
  • Per-bone skinned motion vectors in the velocity buffer, so FSR2 and the temporal
    passes track animated characters correctly.
  • Fixed: the IPN intro cutscene could flash on Vulkan (the backend now presents only on a
    real swap), a GL3 shader-compile break in interaction.frag, and the ambient-occlusion
    baker baking texels that were buried under a co-located sub-mesh.

Tools

  • Real-time timeDemo benchmark (com_timeDemoRealTime): plays a recorded demo at true
    wall-clock speed and reports average / percentile frame times with a CPU/GPU split — the
    way to measure GI, volumetrics and the RT tier on your own hardware. Level-load precaching
    of decal and occlusion maps removes the load-time hitches from the run.
  • The Graphics settings tab was reorganized into clearer groups.

Performance notes

Global illumination and volumetric lighting are the heaviest features in DUDE and are
Vulkan + RTX only; they are the reason Ultra Nightmare exists as a separate tier. Rather than
quote numbers from one machine, use the new in-game benchmark (com_timeDemoRealTime 1 then
timeDemo demo1) to see the cost on your GPU. If Ultra Nightmare is too much, the Nightmare
preset gives you the full raster enhancement suite with none of the ray tracing.

Known limitations

  • RT global illumination, volumetric lighting and the rest of the RT tier are Vulkan-only
    and need hardware ray-query support; the OpenGL renderers are unchanged by them.
  • One-bounce GI is a single indirect bounce, not full path tracing — it adds bounce light and
    ambient occlusion, not caustics or multi-bounce color bleeding.
  • Under a light that refreshes its soft shadows at a reduced rate, shadows of moving things
    can still be a frame or two late.

Setup (same as 0.9.3)

You need the original DOOM 3 / Resurrection of Evil game data (base/*.pk4,
d3xp/*.pk4) from your own copy (Steam/GOG classic, not the BFG Edition).

  • Windows (64-bit): unzip and copy the contents of the dude-0.9.4-win64
    folder into your Doom 3 directory, next to base/ (the included pk4/config files
    merge into base/). Or run from anywhere with +set fs_basepath "C:\path\to\Doom 3".
  • Linux (x86_64): untar and copy the contents into your Doom 3 directory the same
    way, run ./dude.

Renderer selection: +set r_graphicsAPI opengl|opengl3|vulkan or the in-game menu.
For the full RT tier pick the Vulkan renderer and the Ultra Nightmare preset.
Configs/saves live in ~/.local/share/dude (Linux) / Documents/My Games/dude (Windows).

Optional download: baked ambient-occlusion pack

dude-0.9.4-baked-ao.zip (~161 MB): precomputed per-material AO maps for subtle contact
shading on world surfaces, props and weapons. Re-baked for 0.9.4 with the buried-texel
contact fix, so this pack differs from the 0.9.2/0.9.3 one — re-download it if you use it.
Extract into your Doom 3 directory the same way. Entirely optional.

DUDE is GPLv3 — source at https://github.com/Inkub0/dude.

DUDE 0.9.3

Choose a tag to compare

@Inkub0 Inkub0 released this 18 Sep 16:13

DUDE 0.9.3 — RTX improved: ray-traced shadows on every light, RTX reflections and occlusion.

A feature release on top of 0.9.2, and
almost all of it is ray tracing. 0.9.2 introduced the first RT elements (sun, moving lights,
monster shadows); 0.9.3 turns Ultra Nightmare into a real hybrid ray-traced tier: every
shadow-casting light is ray-traced and softened
, reflective floors and glass show ray-traced
reflections
of the room and its monsters, and screen-space AO is replaced by ray-traced
ambient occlusion
with NVIDIA's NRD denoiser. Abrand new HDR tonemap curve improves
vastly the visual perception of the game. it has "HDR gamma" and "HDR knee" knobs so you
can fine tune it to your liking.

Everything here needs the Vulkan renderer and an RTX / ray-query-capable GPU. On anything
else Ultra Nightmare still falls back cleanly to the Nightmare raster path.

Changed since 0.9.2

Ray-traced shadows

  • RT shadows for every light (r_rtAllLights, Shadows → Ray Tracing → RT Shadows for All
    Lights
    ): every shadow-casting light — point, projected and parallel — now takes the
    pixel-exact ray route that only the sun and moving lights had in 0.9.2. No shadow maps are
    rendered at all while it is on: no map resolution, no bias artefacts, no light budget.
  • Soft RT shadows (r_rtShadowBlur, Soften RT Shadows): ray-traced shadows stay sharp
    where an object touches the surface it shadows and soften as the gap grows, like a real light.
    Deterministic — no noise and nothing accumulated over frames, so nothing swims or lags when you
    move. Tune it under Debugging → RT Shadows: Blur Intensity and a Blur Falloff Curve
    that shapes how quickly shadows soften with distance from their caster.
  • Distant soft shadows refresh less often (r_rtShadowBlurStagger, Refresh Distant Soft
    Shadows Less Often
    ): lights close to you refresh their soft shadows every frame, farther ones
    every 2nd, the farthest every 3rd, re-projected to the current camera in between. Roughly
    halves the cost of softening a light-dense room, with no visible change in testing. The two
    distances are tunable under Debugging → RT Shadows.
  • All three are part of Ultra Nightmare.

Ray-traced reflections

  • Ray-traced reflections (r_rtReflections, Reflections → Ray-Traced Reflections):
    reflective floors and metal now reflect the real room and its monsters — including things
    that are off screen or hidden from the camera, which screen-space reflections can never show.
    Reflected surfaces are textured per texel, and the result is temporally upscaled so it stays
    affordable.
  • Glass reflects the live scene instead of a static cube map, with grazing-angle Fresnel and
    a sky gradient where a ray escapes; on the SSR tier glass gets a screen-space version of the same.
  • Fireflies on glossy floors are clamped (r_ssrFireflyClamp), and reflection fall-off with
    roughness is tunable (r_ssrRoughnessFade).

Ray-traced ambient occlusion

  • RTAO (r_rtao, Ambient Occlusion → RT Ambient Occlusion): one ray per pixel against the
    real scene, denoised by NVIDIA NRD (ReBLUR), replaces the screen-space GTAO at Ultra
    Nightmare — occlusion from geometry the screen can't see, no screen-edge fade. Own intensity
    control (r_rtaoIntensity).
  • NVIDIA NRD 4.18 is now built into the engine as the denoising foundation for the RT tier.

RT under the hood

  • Animated monsters as GPU-resident ray-tracing instances: skinned characters feed the
    acceleration structure straight from the GPU skinning buffers and are refitted instead of
    rebuilt (r_rtAnimBlas) — the groundwork RT reflections of monsters are built on.
  • Stability: fixed the GPU hangs / device-lost seen in heavy combat with RT on
    (acceleration-structure rebuilds are now ordered after in-flight ray traversal; rays with
    degenerate directions are never launched).

Rendering

  • New "DUDE" tonemap curve (r_hdrTonemap 5), HDR gamma control and an experimental adaptive
    white point. Default HDR exposure raised to 1.5 (r_hdrExposure).
  • Cutscenes render correctly with every depth-based effect. The game lowers the camera's near
    plane during cinematics, but SSAO, RTAO, screen-space and RT reflections, soft particles and the
    new soft shadows all assumed the gameplay value — so in cutscenes they worked from positions
    three times too far away. They now read it from the view itself.
  • Eye adaptation stands down during cutscenes and resumes by itself afterwards, so the
    exposure no longer pumps across camera cuts.
  • Smooth rendering above 60 fps by default: render interpolation (com_interpolate) is now
    part of every preset above Potato.
  • Cheaper ambient occlusion: the normal pre-pass is merged with the depth pre-pass on Vulkan
    (one geometry pass instead of two), and Ultra Nightmare runs AO at full resolution.
  • Cheaper GPU skinning: the joint palette is uploaded once per character instead of once per
    surface, fixing the frame-rate drops around multi-surface monsters.
  • Fixed: with FSR2 / motion vectors on, the first-person weapon and hands could render black and
    the GPU could be lost (invalid motion vectors on the view weapon).
  • Smoke darkness blending defaults retuned (darkness floor 55%, full opacity at 20% light);
    refreshed PBR material list.

Performance notes (RTX 3080 Ti, 1440p, busy Mars City scene)

  • RT shadows for all lights: about +0.25 ms GPU — the rays replace every shadow-map render.
  • Softening all of them: about +5 ms; with Refresh Distant Soft Shadows Less Often (on in
    Ultra Nightmare) about +2.7 ms.
  • If that is too much for your GPU, turn off Soften RT Shadows first: the hard ray-traced
    shadows on every light are nearly free.

Known limitations - to be addressed later

  • With RT Shadows for All Lights on, grates and fences do not cast shadows (they did
    through the shadow-map path). Turn the option off if a scene depends on them.
  • Under a light that refreshes at a reduced rate, shadows of moving things can be a frame or two
    late, and re-projected pixels without valid data fall back to a hard-edged ray for that frame.
  • Ray tracing is Vulkan-only and needs hardware ray-query support; the OpenGL renderers are
    unchanged by the RT features.

Setup (same as 0.9.2)

You need the original DOOM 3 / Resurrection of Evil game data (base/*.pk4,
d3xp/*.pk4) from your own copy (Steam/GOG classic, not the BFG Edition).

  • Windows (64-bit): unzip and copy the contents of the dude-0.9.3-win64
    folder into your Doom 3 directory, next to base/ (the included pk4/config files
    merge into base/). Or run from anywhere with +set fs_basepath "C:\path\to\Doom 3".
  • Linux (x86_64): untar and copy the contents into your Doom 3 directory the same
    way, run ./dude.

Renderer selection: +set r_graphicsAPI opengl|opengl3|vulkan or the in-game menu.
For the full RT tier pick the Vulkan renderer and the Ultra Nightmare preset.
Configs/saves live in ~/.local/share/dude (Linux) / Documents/My Games/dude (Windows).

Optional download: baked ambient-occlusion pack

dude-0.9.3-baked-ao.zip (~100 MB): precomputed per-material AO maps for subtle
contact shading on world surfaces, props and weapons — unchanged since 0.9.2, so skip it if
you already have it. Extract into your Doom 3 directory the same way. Entirely optional.

DUDE is GPLv3 — source at https://github.com/Inkub0/dude.

DUDE 0.9.2

Choose a tag to compare

@Inkub0 Inkub0 released this 11 Sep 14:11

DUDE 0.9.2 — RTX elements, GPU skinning, and Lost Mission

A feature release on top of 0.9.1.
The big story is ray tracing: on a Vulkan RTX GPU, DUDE now ray-traces sun shadows,
moving-light shadows, and shadows cast by animated monsters, wrapped up in a new
Ultra Nightmare preset. GPU skinning becomes the default on Vulkan, and The Lost
Mission
now runs natively.

Changed since 0.9.1

The Lost Mission

  • The Lost Mission (d3le) runs natively on DUDE via a built-in game library — no
    extra DLLs. Drop the Lost Mission data in and it loads by name.

Ray tracing (Vulkan + RTX)

  • New "Ultra Nightmare" preset — the RT-gated tier above Nightmare. Enables
    ray-traced sun and moving-light shadows on capable hardware; falls back cleanly to
    the Nightmare raster path on everything else.
  • Ray-traced sun shadows (r_rtSunShadows): crisp, leak-free sun/moonlight
    shadows. The expensive raster sun shadow-map render is now skipped entirely whenever
    the sun is served by ray tracing.
  • Animated monsters cast ray-traced shadows (r_rtMonsterShadows): enemies and
    other skinned characters now throw correct RT shadows, including alpha-tested
    (perforated) surfaces.
  • Ray-traced shadows for moving point lights (r_rtMovingLights): dynamic lights
    that move through the world cast true ray-traced shadows instead of the raster
    scratch cube.
  • RT stays cheap at rest: the acceleration structure is only rebuilt when the scene
    actually changes, so ray tracing costs almost nothing in a static view.
  • RT shadow toggles are exposed in the in-game Shadows settings group (shown only
    when your GPU supports ray tracing).

Rendering

  • GPU skinning is now the default on Vulkan (Medium preset and up). Animated
    characters are skinned on the GPU, freeing CPU frame time. Potato/Low keep the
    faithful CPU path.
  • Better tessellated characters: MD5 mesh seams are welded on the plain
    tessellation path too (not only under GPU skinning), fixing visible cracks at arms
    and shoulders on the tessellation presets.
  • Cheaper dynamic shadows: moving lights' scratch shadow cube renders at half
    resolution by default (r_shadowMapSplitDynDrop), full-resolution on Nightmare —
    a measurable cube-pass cost cut with no visible difference on movers.
  • Chromatic aberration post effect (r_postChromaticAberration): a subtle
    scene-only lens fringe that runs before the HUD, so the crosshair and UI stay crisp.

Content & UI

  • Simpler anti-aliasing menu: post-AA is now a single selector —
    Off / FXAA / SMAA / FSR2 (TAA) — instead of overlapping toggles.

Setup (same as 0.9.1)

You need the original DOOM 3 / Resurrection of Evil game data (base/*.pk4,
d3xp/*.pk4) from your own copy (Steam/GOG classic, not the BFG Edition).

  • Windows (64-bit): unzip and copy the contents of the dude-0.9.2-win64
    folder into your Doom 3 directory, next to base/ (the included pk4/config files
    merge into base/). Or run from anywhere with +set fs_basepath "C:\path\to\Doom 3".
  • Linux (x86_64): untar and copy the contents into your Doom 3 directory the same
    way, run ./dude.

Renderer selection: +set r_graphicsAPI opengl|opengl3|vulkan or the in-game menu.
Ray tracing requires the Vulkan renderer and an RTX / ray-query-capable GPU.
Configs/saves live in ~/.local/share/dude (Linux) / Documents/My Games/dude (Windows).

Optional download: baked ambient-occlusion pack

dude-0.9.2-baked-ao.zip (~100 MB): precomputed per-material AO maps for subtle
contact shading on world surfaces, props and weapons. Extract into your Doom 3
directory the same way. Entirely optional.

DUDE is GPLv3 — source at https://github.com/Inkub0/dude.