You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Early out of ILC interpolation if there are no samples
#PR 793 [CL 2538224 by Daniel Wright in Main branch]
This commit is contained in:
committed by
Daniel.Wright@epicgames.com
parent
f876055b84
commit
ea9b683fa2
@@ -351,7 +351,7 @@ FIndirectLightingCacheAllocation* FIndirectLightingCache::FindPrimitiveAllocatio
|
||||
|
||||
void FIndirectLightingCache::UpdateCache(FScene* Scene, FSceneRenderer& Renderer, bool bAllowUnbuiltPreview)
|
||||
{
|
||||
if (IsIndirectLightingCacheAllowed(GetFeatureLevel()))
|
||||
if (IsIndirectLightingCacheAllowed(GetFeatureLevel()) && Scene->PrecomputedLightVolumes.Num() > 0)
|
||||
{
|
||||
bool bAnyViewAllowsIndirectLightingCache = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user