This command globally enables or disables the casting of shadows by objects. If the boolean flag is true, then shadows will be cast by lights that have shadows casting enabled. Size defines the size of the depth map used to render the shadows. As a rule of thumb one could say that the depth maps should be at least as large as the image itself but this may vary from case to case. Size is omitted when flag is false.