Skip to content

Commit 829acf9

Browse files
pmavridisEvergreen
authored andcommitted
Update reflection probe atlas if probe runtime intensity changes
https://jira.unity3d.com/browse/UUM-67982 The update logic in the reflection probe atlas was not taking into account the runtime intensity of non real-time probes
1 parent d12f2c4 commit 829acf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Packages/com.unity.render-pipelines.universal/Runtime/ReflectionProbeManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ public unsafe void UpdateGpuData(CommandBuffer cmd, ref CullingResults cullResul
207207
#if UNITY_EDITOR
208208
needsUpdate |= cachedProbe.imageContentsHash != texture.imageContentsHash;
209209
#endif
210+
needsUpdate |= cachedProbe.hdrData != probe.hdrData; // The probe needs update if the runtime intensity multiplier changes
210211

211212
if (needsUpdate)
212213
{

0 commit comments

Comments
 (0)