r.Shadow.UnbuiltPreviewInGame
r.Shadow.UnbuiltPreviewInGame is a console variable in Unreal Engine 5 (UE5). See what r.Shadow.UnbuiltPreviewInGame does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Whether to render unbuilt preview shadows in game. When enabled and lighting is not built, expensive preview shadows will be rendered in game. When disabled, lighting in game and editor won\'t match which can appear to be a bug.
Usage
Unreal console (open with ~)
> r.Shadow.UnbuiltPreviewInGame 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.Shadow.TexelsPerPixelVarr.Shadow.TexelsPerPixelPointlightVarr.Shadow.TexelsPerPixelRectlightVarr.Shadow.TexelsPerPixelSpotlightVarr.Shadow.TransitionScaleVarr.Shadow.UnbuiltNumWholeSceneDynamicShadowCascadesVarr.Shadow.UnbuiltWholeSceneDynamicShadowRadiusVarr.Shadow.UseOctreeForCullingVarr.Shadow.Virtual.AccumulateStatsVarr.Shadow.Virtual.BuildHZBPerPageVarr.Shadow.Virtual.CacheVarr.Shadow.Virtual.Cache.ClipmapPanningVar