If you set the r_drawcompiled shadows variable to 0, all shadows will be disabled. This should be your default setting, because 0 will significantly increase performance while still giving players a useful experience. If you set r_drawcompiled shadows to 1, your game will behave much like Quake 1, where all shadows will be disabled and players will not be able to see any things cast in shadows, which is not really an option.If you set r_drawcompiled shadows to 2, your game will behave a lot like the Quake 2 game, where all shadows will be disabled and players will only be able to see objects that are facing in the direction that the player's gaze is set. Note that the game has some bugs with this option. It needs a shader rewrite (of course it needs to be rewritten), and we can only use the new shader if we have OpenGL shading activated and it is set to software rasterization. Your OpenGL driver must support the OpenGL stencil buffer. Make sure you test it first! It will work with a legacy OpenGL driver. For Windows, 32-bit and 64-bit OpenGL drivers must support rendering to a software-based stencil buffer.3D games will use software rasterization, and it is the default. It is the speediest method but it does not look as good. The r_drawcompiled shadows setting cannot be configured in the editor. For more information about the r_drawcompiled shadows setting, see the install documentation on the What's New page.
The value for r_drawcompiled shadows can also be changed globally by the r_drawcompiled shadows global variable. This is set to 1 by default. We recommend setting this to 0 if you want to use software-based rendering for shadows.
Note that since changes to the r_drawcompiled shadows setting may affect existing source code, we strongly recommend that you not change the setting without reading the documentation carefully and talking to us. d2c66b5586