Skip to content

Vulkan Renderer

Kevin Mallinson edited this page Nov 14, 2026 · 1 revision

Vulkan renderer

The game draws through Vulkan by default. Every effect on this wiki's Rendering pages runs on it; the original Direct3D 9 renderer is still there and draws the game as it always did.

With every effect off, Vulkan draws the same picture as Direct3D 9 (the two are checked against each other, level by level).

Turning it on

Where Setting
Options > Graphics > Renderer Vulkan / Direct3D 9 (takes effect after a restart)
thug2-decomp.ini [Graphics] renderer=vulkan (default) or renderer=d3d9

Other [Graphics] keys for the renderer:

Key Default What it does
vulkan_device -1 Which GPU, by Vulkan's numbering (-1: the best one, a discrete GPU first)
vulkan_validation 0 1 loads the Khronos validation layer when one is installed; its messages go to the log
ray_tracing 0 1 turns on the GPU's ray-tracing extensions, where it has them all. The ray-traced effects need it
present_mode vsync vsync, mailbox (no waiting, no tearing) or immediate (no waiting, may tear) - see Frame rate

Requirements and limits

  • Vulkan 1.3 with dynamic rendering and push descriptors. Without such a device, or without the Vulkan loader, the game falls back to Direct3D 9 and the log says why.
  • The ray-traced effects (shadows, ambient occlusion, bounce light, reflections, fog, lamp lights, relit levels) need ray_tracing=1, a GPU with ray queries and the 64-bit build. Effects that don't trace rays (sky, water, grass, HDR, bloom, styles, camera effects) run on any Vulkan GPU.
  • The level editor always runs on Vulkan; renderer=d3d9 applies to the game only.

See also

Graphics options - presets, MSAA, anisotropic filtering, draw distance.

Clone this wiki locally