Difference between revisions of "Mat dxlevel"

From Valve Developer Community
Jump to: navigation, search
(removed mat_dxlevel 98)
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
}}
 
}}
 
{{DISPLAYTITLE:mat_dxlevel}}
 
{{DISPLAYTITLE:mat_dxlevel}}
'''mat_dxlevel''' changes the DirectX mode used within a Source game. The player is only able to use modes that his/her hardware supports. The format is
+
'''mat_dxlevel''' changes the DirectX mode used within a Source game. The player is only able to use modes that their hardware supports. The format is
  
 
   mat_dxlevel [DirectX version]
 
   mat_dxlevel [DirectX version]
Line 17: Line 17:
 
   mat_dxlevel 95 - DX9 with Shader Model 3
 
   mat_dxlevel 95 - DX9 with Shader Model 3
  
This can also be specified with Launch Options, use '''+mat_dxlevel [DirectX version]''' on the launch options of any Source game to do so. Alternatively, you can use '''-dxlevel [DirectX version]''', however this specifies a number of extra presets, including resolution and quality.
+
This can also be specified with Launch Options, use '''+mat_dxlevel [DirectX version]''' on the launch options of any Source game to do so. Alternatively, you can use '''-dxlevel [DirectX version]''', however this specifies a number of extra presets, including but not limited to:
 +
* Resolution
 +
* Windowed/Fullscreen status
 +
* MSAA quality (mat_aaquality) and sample count (mat_antialias)
 +
* Motion blur (mat_motion_blur_*)
 +
* Shadow depth textures
 +
* Gamma (mat_monitorgamma)
  
 
== See Also ==
 
== See Also ==

Latest revision as of 22:19, 26 September 2015

Русский

mat_dxlevel changes the DirectX mode used within a Source game. The player is only able to use modes that their hardware supports. The format is

 mat_dxlevel [DirectX version]
 mat_dxlevel 70
 mat_dxlevel 80
 mat_dxlevel 81
 ...

For DirectX 9 the value depends on the hardware's capability:

 mat_dxlevel 90 - DX9 with Shader Model 2
 mat_dxlevel 95 - DX9 with Shader Model 3

This can also be specified with Launch Options, use +mat_dxlevel [DirectX version] on the launch options of any Source game to do so. Alternatively, you can use -dxlevel [DirectX version], however this specifies a number of extra presets, including but not limited to:

  • Resolution
  • Windowed/Fullscreen status
  • MSAA quality (mat_aaquality) and sample count (mat_antialias)
  • Motion blur (mat_motion_blur_*)
  • Shadow depth textures
  • Gamma (mat_monitorgamma)

See Also

DirectX Versions