This article's documentation is for Source 2. Click here for more information.

VRAD (Source 2)

From Valve Developer Community
(Redirected from VRAD3)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

ResourcecompilerVRAD2/VRAD3

Stub

This article or section is a stub. You can help by expanding it.

VRAD2 VRAD3 (and its predecessor, VRAD2) is the command-line tool that calculates and embeds lighting data into compiled maps, using a graphics card (GPU) with ray tracing support (or CPU on older engine versions). It is the Source 2 Source 2 counterpart of Source Source 1's VRAD, and like Source 1, VRAD3's static and pre-compiled light is bounced around the world with a Wikipedia icon radiosity algorithm.

Source 2 originally ships with VRAD2, which are used in earlier Source 2 titles such as Half-Life: Alyx Half-Life: Alyx and SteamVR Home SteamVR Home. VRAD2 are still shipped with some older Source 2 games to preview baked lighting in Hammer using CPU.

VRAD3 was later shipped with all Source 2 games, including older Source 2 titles that are still being supported. Counter-Strike 2 ships with newer version of VRAD3 which requires a GPU with ray tracing support, such as NVIDIA RTX series, AMD RX 6000 series (or later/other RDNA2) cards or Intel Arc (since Jan 2025) graphics cards, while VRAD2 and the old CPU lighting compiler have been removed in Counter-Strike 2 as of the Armory Update.

Icon-Bug.pngBug:Systems with the latest NVIDIA (and possibly AMD) drivers may have issues with VRAD3, causing it to crash (with VK_ERROR_DEVICE_LOST) while baking lighting during map compilation.  (tested in: Counter-Strike 2)
Note.pngNote:VRAD3 in all Source 2 games before Counter-Strike 2 are CPU-only. After Counter-Strike 2, VRAD requires GPU with ray-tracing support.

Games with VRAD2

Games with VRAD3

Valve

Third-party

Todo: Add more information about Source 2's VRAD2/VRAD3 lighting.

Command line options

Todo: List more command line options.

VRAD2

[Todo]

VRAD3

Argument Description
-script Specify VRAD3 script file.

See also