how do i turn off shadows i lost the command?

how do i turn off shadows i lost the command? it seems to be the only way my bud can get enough fps to play.

graphics.shadowdistance 0