CS2 mat_shading_complexity_max_instruction_count Command

CS2 Command CS2 logo
mat_shading_complexity_max_instruction_count <Instruction Count>

Sets the maximum shader instruction count, controlling the complexity of shaders. Primarily used for performance testing and optimization.

Argument Information

The syntax for this command is as follows:
Name Description
Instruction Count

The maximum number of instructions that a shader can contain.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Unknown
Default Value
1024
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_shading_complexity_max_instruction_count 1024
1/1 arguments filled
Instruction Count

mat_shading_complexity_max_instruction_count Examples

mat_shading_complexity_max_instruction_count 512

Limits the maximum shader instruction count to 512, potentially improving performance at the cost of visual fidelity.

mat_shading_complexity_max_instruction_count 2048

Increases the limit on shader instruction count to 2048, allowing for more complex shaders at the potential cost of performance.