VRAD (Source 2): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
{{map compile pipeline|source2}}
{{map compile pipeline|source2}}
{{stub}}
{{stub}}
'''VRAD3''' is the [[command-line]] tool that calculates and embeds lighting data into compiled maps, using graphics card (GPU) with ray tracing support. 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.
Earlier Source 2 games 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.
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.
{{Confirm|Does VRAD3 requires ray-tracing support on {{hla|1}}, {{dota2|1}} and {{svrh|1}} aswell?}}
Older versions of the engine, such as {{hla|4}} and {{Svrh|4}}, use CPU light baking.


VRAD3 is also available in {{hla|1}} and {{dota2|1}} in later updates.


VRAD3 requires NVIDIA RTX, AMD RX 6000 series (or later/other RDNA2) cards or Intel Arc (since Jan 2025) graphics card.
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}}|System with latest NVIDIA (and possibly AMD) drivers may have issues with VRAD3, causing it to crash (with {{code|VK_ERROR_DEVICE_LOST}}) while bake lighting during map compiling.}}
{{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.}}


== Games with VRAD2 ==
== Games with VRAD2 ==
Line 23: Line 22:
* {{cs2|4}}
* {{cs2|4}}
* {{Dota2|4}} (later version)
* {{Dota2|4}} (later version)
* {{hla|4}} (later version)
* {{hla|4}}
* {{Svrh|4}} (later version)
* {{Svrh|4}} (later version)
=== Third-party ===
=== Third-party ===

Revision as of 12:14, 23 February 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 use VRAD2 to preview baked lighting in Hammer using CPU to bake lighting.

In Counter-Strike 2 Counter-Strike 2, 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. Older versions of the engine, such as Half-Life: Alyx Half-Life: Alyx and SteamVR Home SteamVR Home, use CPU light baking.


For newer versions of the engine, such as Counter-Strike 2 Counter-Strike 2, 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 Half-Life: Alyx Half-Life: Alyx and SteamVR Home SteamVR Home, use CPU light baking.

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