VRAD (Source 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Fix duplicate text)
Line 5: Line 5:
'''VRAD3''' 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 {{source2|4}} counterpart of {{source|4|nt=3}}'s [[VRAD]].
'''VRAD3''' 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 {{source2|4}} counterpart of {{source|4|nt=3}}'s [[VRAD]].


Earlier Source 2 games use '''VRAD2''' to preview baked lighting in Hammer using CPU to bake lighting.
Earlier Source 2 games, such as {{hla|4}} and {{Svrh|4}}, use '''VRAD2''' to preview baked lighting in Hammer using CPU to bake lighting.


In {{cs2|4}}, VRAD3 requires a GPU with ray tracing support to both preview and bake lighting. VRAD2 and the old CPU lighting compiler have been removed as of the Armory Update.
For newer versions of the engine, such as {{cs2|4}}, use VRAD3 which requires a GPU with ray tracing support, such as NVIDIA RTX, AMD RX 6000 series (or later/other RDNA2) cards or Intel Arc (since Jan 2025) graphics card.
Older versions of the engine, such as {{hla|4}} and {{Svrh|4}}, use CPU light baking.


 
VRAD2 and the old CPU lighting compiler have been removed in {{cs2|4}} as of the Armory Update.
For newer versions of the engine, such as {{cs2|4}}, VRAD3 requires NVIDIA RTX, AMD RX 6000 series (or later/other RDNA2) cards or Intel Arc (since Jan 2025) graphics card. Older versions, such as {{hla|4}} and {{Svrh|4}}, use CPU light baking.


{{Bug|tested={{cs2}}|Systems with the latest NVIDIA (and possibly AMD) drivers may have issues with VRAD3, causing it to crash (with {{code|VK_ERROR_DEVICE_LOST}}) while baking lighting during map compilation.}}
{{Bug|tested={{cs2}}|Systems with the latest NVIDIA (and possibly AMD) drivers may have issues with VRAD3, causing it to crash (with {{code|VK_ERROR_DEVICE_LOST}}) while baking lighting during map compilation.}}

Revision as of 06:49, 14 March 2025

English (en)中文 (zh)Translate (Translate)

ResourcecompilerVRAD2/VRAD3

Stub

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

VRAD3 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.

Earlier Source 2 games, such as Half-Life: Alyx Half-Life: Alyx and SteamVR Home SteamVR Home, use VRAD2 to preview baked lighting in Hammer using CPU to bake lighting.

For newer versions of the engine, such as Counter-Strike 2 Counter-Strike 2, use VRAD3 which requires a GPU with ray tracing support, such as NVIDIA RTX, AMD RX 6000 series (or later/other RDNA2) cards or Intel Arc (since Jan 2025) graphics card.

VRAD2 and the old CPU lighting compiler have been removed in Counter-Strike 2 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)

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