r_nearz Command

Explore usage, syntax, and examples for the r_nearz CS2 developer console command.

r_nearz

CS2 Only

Command

r_nearz

<Z value>

Overrides the near clipping plane distance in the game. Use -1 to restore the default setting.

<Z value>

Set the near clipping plane distance. Enter -1 to revert to the default value.

sv_cheats Required

Yes

Client or Server Command

Client

r_nearz Generator

Command

r_nearz

<Z value>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

r_nearz Examples

Command

r_nearz

500

Sets the near clipping plane distance to 500.

Command

r_nearz

-1

Resets the near clipping plane to its default distance.