Mat dxlevel: Difference between revisions
Jump to navigation
Jump to search
Warning:Using -dxlevel launch parameter makes alt tabbing in and out of the game really slow, this also resets all video configs. It's better to use
m (Kr0tchet moved page Mat dxlevel to Mat dxlevel/en: Moving page to add MultiPage on main page.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{langsp|title=mat_dxlevel}} | {{langsp|title={{code|mat_dxlevel}}}} | ||
{{ModernNote|This command is not available in any game made using {{l4dbranch|4}} and later branches. Furthermore, since around {{src07|4}} or {{src09|4}} up to {{src13|4}}, only DirectX 8.0 and 8.1 materials are supported, DX7 and earlier was dropped.}} | {{ModernNote|This command is not available in any game made using {{l4dbranch|4}} and later branches. Furthermore, since around {{src07|4}} or {{src09|4}} up to {{src13|4}}, only DirectX 8.0 and 8.1 materials are supported, DX7 and earlier was dropped.}} | ||
'''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''' changes the DirectX mode used within a Source game. The player is only able to use modes that their hardware supports. The format is | ||
{{pre| | |||
mat_dxlevel [DirectX version] | |||
mat_dxlevel 70 | |||
mat_dxlevel 80 | |||
mat_dxlevel 81 | |||
... | |||
}} | |||
For DirectX 9 the value depends on the hardware's capability: | For DirectX 9 the value depends on the hardware's capability: | ||
{{pre| | |||
mat_dxlevel 90 - DX9 with Shader Model 2 | |||
mat_dxlevel 95 - DX9 with Shader Model 3 | |||
mat_dxlevel 98 - {{360|3.1}} only | |||
mat_dxlevel 100 - {{sfm|3.1}} only | |||
}} | |||
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: | 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 | * Resolution |
Revision as of 04:15, 9 July 2023
Template:ModernNote 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 mat_dxlevel 98 - Xbox 360 only mat_dxlevel 100 - Source Filmmaker only
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)

+mat_dxlevel
launch parameter instead, or to place mat_dxlevel command inside a config file.