CS2 mat_show_distance_field Command

CS2 Command CS2 logo
mat_show_distance_field <0 / 1 / 2>

Controls the visualization of the distance field and trace from camera to determine occlusion. Meant for debugging.

Argument Information

The syntax for this command is as follows:
Name Description
0 / 1 / 2

Sets the mode of distance field visualization.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Unknown
Default Value
0
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
IPS

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

mat_show_distance_field 0
1/1 arguments filled
0 / 1 / 2

mat_show_distance_field Examples

mat_show_distance_field 0

Disables the visualization of the distance field.

mat_show_distance_field 1

Visualizes the trace from the camera.

mat_show_distance_field 2

Visualizes occlusion using the distance field.