Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ void UpdateSSRConstantBuffer(HDCamera hdCamera, ScreenSpaceReflection settings,
cb._ColorPyramidUvScaleAndLimitPrevFrame = HDUtils.ComputeViewportScaleAndLimit(hdCamera.historyRTHandleProperties.previousViewportSize, hdCamera.historyRTHandleProperties.previousRenderTargetSize);
cb._SsrColorPyramidMaxMip = hdCamera.colorPyramidHistoryMipCount - 1;
cb._SsrDepthPyramidMaxMip = hdCamera.depthBufferMipChainInfo.mipLevelCount - 1;
if (hdCamera.isFirstFrame || hdCamera.cameraFrameCount <= 2)
if (hdCamera.isFirstFrame || hdCamera.cameraFrameCount <= 3)
{
cb._SsrAccumulationAmount = 1.0f;
}
Expand Down