r.Shadow.DistanceScale command

r.Shadow.DistanceScale number
Command effect
This command will set the render distance of shadows cast by objects.
Default parameter
r.Shadow.DistanceScale 3

How to enter a cheat code

Cheat codes are entered in the console. Enable the console by pressing Ctrl Shift L. After enabling the console, you can open the console by pressing the § / ~ / ` key, which is usually located in the upper-left corner of the keyboard. (Press the § / ~ / ` again if you want the console to be opened in a larger window.)