VRAD (Source 2): Difference between revisions
| No edit summary | No edit summary | ||
| (29 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
| {{ | {{LanguageBar}} | ||
| {{Tabs|VRAD|source=1|source2=1|main=source}} | |||
| {{map compile pipeline|source2}} | |||
| {{stub}} | |||
| {{vrads2|4|nt=3}} (and its predecessor, {{vrads2|3|nt=2}}) 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]], and like Source 1, VRAD3's static and pre-compiled light is bounced around the world with a {{Wikipedia|Radiosity (3D computer graphics)|radiosity}} algorithm. | |||
| Source 2 originally ships with '''VRAD2''', which are used in earlier Source 2 titles such as {{hla|4}} and {{Svrh|4}}. 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. {{cs2|1}} 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 {{cs2|name}} as of the Armory Update. | ||
| == See  | {{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.}} | ||
| {{Note|VRAD3 in all Source 2 games before {{cs2|1}} are CPU-only. After {{Cs2|1}}, VRAD requires GPU with ray-tracing support.}} | |||
| == Games with VRAD2 == | |||
| * All {{src2|4}} games except {{Cs2|4}}, and newer versions of {{Dota2|4}} (since 2023/2024). | |||
| == Games with VRAD3 == | |||
| === Valve === | |||
| * {{cs2|4}} | |||
| * {{Dota2|4}} (later version) | |||
| * {{hla|4}} | |||
| * {{Svrh|4}} (later version) | |||
| === Third-party === | |||
| * {{Sbox|4}} | |||
| {{todo|Add more information about Source 2's VRAD2/VRAD3 lighting.}} | |||
| == Command line options == | |||
| {{Todo|List more command line options.}} | |||
| === VRAD2 === | |||
| {{todo}} | |||
| === VRAD3 === | |||
| {| class="wikitable sortable" | |||
| ! Argument !! Description | |||
| |- | |||
| | '''-script''' || Specify VRAD3 script file. | |||
| |- | |||
| |} | |||
| == See also == | |||
| *[[VRAD]] - {{source|4|nt=3}} counterpart. | *[[VRAD]] - {{source|4|nt=3}} counterpart. | ||
| *[[QRAD]] - {{ | *[[QRAD]] - {{gldsrc|4}} counterpart. | ||
| {{SDKTools/source2}} | |||
| {{source 2 topicon}} | |||
| [[Category:Tools]] | |||
| [[Category:Source 2 compilers]] | |||
| [[Category:Level Design]] | |||
| [[Category:RAD]] | |||
Latest revision as of 06:24, 28 July 2025
 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
 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 counterpart of
 Source 2 counterpart of  Source 1's VRAD, and like Source 1, VRAD3's static and pre-compiled light is bounced around the world with a
 Source 1's VRAD, and like Source 1, VRAD3's static and pre-compiled light is bounced around the world with a  radiosity algorithm.
 radiosity algorithm.
Source 2 originally ships with VRAD2, which are used in earlier Source 2 titles such as  Half-Life: Alyx and
 Half-Life: Alyx and  SteamVR Home. VRAD2 are still shipped with some older Source 2 games to preview baked lighting in Hammer using CPU.
 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.
 Note:VRAD3 in all Source 2 games before Counter-Strike 2 are CPU-only. After Counter-Strike 2, VRAD requires GPU with ray-tracing support.
Note: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
- All  Source 2 games except Source 2 games except Counter-Strike 2, and newer versions of Counter-Strike 2, and newer versions of Dota 2 (since 2023/2024). Dota 2 (since 2023/2024).
Games with VRAD3
Valve
 Counter-Strike 2 Counter-Strike 2
 Dota 2 (later version) Dota 2 (later version)
 Half-Life: Alyx Half-Life: Alyx
 SteamVR Home (later version) SteamVR Home (later version)
Third-party
Command line options
VRAD2
[Todo]
VRAD3
| Argument | Description | 
|---|---|
| -script | Specify VRAD3 script file. | 
See also
| 
 | ||||||||||||||||||||||||||||||||

















































