Description

In TranslucencyRendering.cpp, FDeferredShadingSceneRenderer::RenderTranslucency, the following code:

FViewUniformShaderParameters DownsampledTranslucencyViewParameters;
SetupDownsampledTranslucencyViewParameters(RHICmdList, View, DownsampledTranslucencyViewParameters);
Scene->UniformBuffers.ViewUniformBuffer.UpdateUniformBufferImmediate(DownsampledTranslucencyViewParameters);

 

Manually updates the view uniform buffer parameters without clearing out the cached view. This later causes the view uniform buffer to not get updated back to the full screen parameters.

Steps to Reproduce

This issue cropped up with a UDN customer who was adding a second translucency pass.

https://udn.unrealengine.com/questions/500847/issue-with-updateviewuniformbuffer-during-rendertr.html

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-74849 in the post.

0
Login to Vote

Fixed
ComponentRendering - RHI
Target Fix4.23
Fix Commit6597877
Main Commit6944849
Release Commit6955818
CreatedMay 20, 2019
ResolvedMay 21, 2019
UpdatedAug 1, 2019