GPULM: Fix stationary sky light - bent normal needs to be accumulated over all samples.

#rb none

[CL 26053331 by aleksander netzel in ue5-main branch]
This commit is contained in:
aleksander netzel
2023-06-16 11:21:42 -04:00
parent 28e1771151
commit 753a1b78c5

View File

@@ -1359,7 +1359,7 @@ void VolumetricLightmapPathTracingMainRG()
if (HalfSampleIndex == 0)
{
SkyBentNormal[VoxelPos].rgb = SkyLightBentNormal;
SkyBentNormal[VoxelPos].rgb += SkyLightBentNormal;
}
#ifndef LIGHTMAP_PATH_TRACING_MAIN_RG