It seems no matter what settings I monkey with, I can not get the shadow cull distance to change, ie, when my camera is a certain distance away, shadows cease.
This is using realtime lighting only, no baked lights or shadows.
I have tried adjusting:
Shadows → MaxDistance in scene settings. still the same.
I have tried adjusting HDRP assets maximum shadows on screen, pump it up to a million. Same result. Shadows quickly cull away as if I did nothing.
I have tried near plane in the directional light settings. Shadows still cull away quickly.
This is a larger strategy map with fairly large dimensions (about 2048 x 2048 units aka meters), but not enormous.
I am also get this constantly in my console, even though I have very little at all in my scene:
(a light, a camera, two empty objects that generate meshes during runtime, but these errors are constantly repeating in the editor, not during runtime)
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.LightLoopUpdateCullingParameters (UnityEngine.Rendering.ScriptableCullingParameters& cullingParams) (at Library/PackageCache/com.unity.render-pipelines.high-definition@6.9.0-preview/Runtime/Lighting/LightLoop/LightLoop.cs:1717)
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.TryCalculateFrameParameters (UnityEngine.Camera camera, UnityEngine.Experimental.Rendering.HDPipeline.XRPass xrPass, UnityEngine.Experimental.Rendering.HDPipeline.HDAdditionalCameraData& additionalCameraData, UnityEngine.Experimental.Rendering.HDPipeline.HDCamera& hdCamera, UnityEngine.Rendering.ScriptableCullingParameters& cullingParams) (at Library/PackageCache/com.unity.render-pipelines.high-definition@6.9.0-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:2259)
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[ ] cameras) (at Library/PackageCache/com.unity.render-pipelines.high-definition@6.9.0-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:1043)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[ ] cameras) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:72)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, UnityEngine.Camera[ ] cameras, System.IntPtr loopPtr, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:67)
and this
XRSystem.ReleaseFrame() was not called!
UnityEngine.GUIUtility:processEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
2019.2.16f
“In the Inspector, navigate to Add Override > Shadowing and click on Shadows. You can now use the Shadows override to alter shadow settings for this Volume.”
There is no plain “shadows”, “Micro Shadows” and “Contact Shadows” are the only two options.