Direct3D: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
* Prior to {{l4dbranch|1}}, Source supports [[DirectX Versions|DirectX compatibility levels]] for older graphics card (such as DirectX 8 level card) that only support some, but not all DX9 features (or works poorly when run on DirectX 9 level).
* Prior to {{l4dbranch|1}}, Source supports [[DirectX Versions|DirectX compatibility levels]] for older graphics card (such as DirectX 8 level card) that only support some, but not all DX9 features (or works poorly when run on DirectX 9 level).
* Support Shader Model 2.0 (and 3.0 after {{src06|1}}).
* Support Shader Model 2.0 (and 3.0 after {{src06|1}}).
* In {{Csgo|1|nt=CS:GO}}, {{srcmp|1}} (since 2011) and {{Src13|1}}, has support for D3D9Ex (also known as ''Windows Aero DirectX extensions''), which can improve performance on some GPUs. [[W:Windows Vista|Windows Vista]] (or later) only. Can be disabled using {{code|-nod3d9ex}}.
* In all games since {{srcmp|1}} (since 2011){{Cite|1}}, {{Src13|1}} and {{Csgo|1|nt=CS:GO}}, also support D3D9Ex (labeled as ''Windows Aero DirectX extensions'' in game options), which can improve performance on some GPUs. [[W:Windows Vista|Windows Vista]] (or later) only. Can be disabled using {{code|-nod3d9ex}} ({{code|-disable_d3d9ex}} for CS:GO).
** {{Bug|hidetested=1|Despite Valve claiming that the issue has been fixed,{{Cite|1}} you cannot disable D3D9Ex (''Windows Aero DirectX extensions'') in game options. Valve later eventually removed the D3D9Ex toggle in {{tf2branch|1}}.}}
* See {{source|1}} page for features.
* See {{source|1}} page for features.


Line 47: Line 48:
*{{w|Quake (video_game)#WinQuake|WinQuake}} on Wikipedia
*{{w|Quake (video_game)#WinQuake|WinQuake}} on Wikipedia
*[https://quake.fandom.com/wiki/WinQuake WinQuake] on Quake Fandom wiki
*[https://quake.fandom.com/wiki/WinQuake WinQuake] on Quake Fandom wiki
{{references|1=
{{ref2|cite id=1|access-date=July 20, 2025|The earliest changelog to mention D3D9Ex (Windows Aero DirectX Extensions) was in Dec 15, 2011. This change applies to all '''Source MP''' games. [http://store.steampowered.com/news/7024/ Team Fortress 2, Counter-Strike: Source, Day of Defeat: Source and Half-Life 2: Deathmatch Updates Released]. {{Quote|'''Source Engine Changes (TF2, DoD:S, HL2:DM)'''</br>
- Fixed a bug which caused Windows Aero Extensions video option to always be enabled, regardless of setting. Disabling this can improve compatibility with third-party programs and overlays, but may also affect performance.}}
}}
}}
[[Category:Graphics API]]
[[Category:Graphics API]]

Revision as of 04:46, 20 July 2025

English (en)Português do Brasil (pt-br)Translate (Translate)

Stub

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

Direct3D is a graphics application programming interface (API) for Windows Microsoft Windows. It is part of Wikipedia icon DirectX.

GoldSrc GoldSrc engines ships with a software renderer, OpenGL and initially, Wikipedia icon Direct3D 6, prior to it being removed in 2013 after SteamPipe update. Unlike OpenGL (since detail textures support was added in 2004 with the release of CS:CZ) and like the Software renderer, it doesn't seems to have issues with overbright lighting. Also in James Bond 007: Nightfire James Bond 007: Nightfire, this game used Direct3D 8 instead.

Source Source mainly used Direct3D 9 (Shader Model 2) renderer, which later was upgraded to support Shader Model 3.0 (in all games since Source 2006), but offers backward compatibility with older GPUs using DirectX feature levels as low as DX8 (or DX7, DX6 in previous version of Source). Left 4 Dead engine branch Left 4 Dead engine branch requires GPUs with Direct3D 9.0/DX9.0c (Shader Model 3.0) support in order to run.

Some third-party engine branch like Titanfall branch Titanfall branch and Strata Source Strata Source use Direct3D 11 instead. As of 2024, nearly all of Valve games also added support for Vulkan renderer on Windows, using DXVK to translates D3D9 to Vulkan. Enabling Vulkan translation will require the "-vulkan" launch option (except in Portal with RTX and upcoming Half-Life 2 RTX).

Source 2 Source 2 mainly uses Direct3D 11, but also has options to use the Vulkan renderer.

GoldSrc GoldSrc Direct3D

Direct3D 6

Features

  • Colored lighting - Quake simply had monotone lighting
  • Transparent textures - Glass can now be used in maps
  • Texture Filtering - Quake (GLQuake) simply Texture Filtering
  • Detailed textures

Direct3D 8

Direct3D 8 only on Counter-Strike (Xbox) Counter-Strike (Xbox)

Features

  • Dynamic iris simulation - automatically adjust brightness, similar to HDR Rendering (only in Counter-Strike (Xbox))

Source Source Direct3D

  • Primarily runs on Direct3D 9.0. Some third-party engine branches use Direct3D 11 or 12.
  • Prior to Left 4 Dead engine branch, Source supports DirectX compatibility levels for older graphics card (such as DirectX 8 level card) that only support some, but not all DX9 features (or works poorly when run on DirectX 9 level).
  • Support Shader Model 2.0 (and 3.0 after Source 2006).
  • In all games since Source Multiplayer (since 2011)[1], Source 2013 and CS:GO, also support D3D9Ex (labeled as Windows Aero DirectX extensions in game options), which can improve performance on some GPUs. Windows Vista (or later) only. Can be disabled using -nod3d9ex (-disable_d3d9ex for CS:GO).
    • Icon-Bug.pngBug:Despite Valve claiming that the issue has been fixed,[1] you cannot disable D3D9Ex (Windows Aero DirectX extensions) in game options. Valve later eventually removed the D3D9Ex toggle in Team Fortress 2 branch.
  • See Source page for features.

Source 2 Source 2 Direct3D

  • Runs on Direct3D 11
  • Shader Model 5.0
  • See Source 2 page for features.

See also

External links

References

References
1. The earliest changelog to mention D3D9Ex (Windows Aero DirectX Extensions) was in Dec 15, 2011. This change applies to all Source MP games. Team Fortress 2, Counter-Strike: Source, Day of Defeat: Source and Half-Life 2: Deathmatch Updates Released.
Source Engine Changes (TF2, DoD:S, HL2:DM)
- Fixed a bug which caused Windows Aero Extensions video option to always be enabled, regardless of setting. Disabling this can improve compatibility with third-party programs and overlays, but may also affect performance.
. Retrieved on July 20, 2025.