I use the Accumulate buffer to interpolate the lighting results from the current and previous frames. As the frames accumulated, I noticed that the tint of the picture changed.



AccRad = clamp(CurrentFrameRad, 0.0f, FP16_MAX);
const float lerpFactor = AccumulateFrames / (AccumulateFrames + 1.0f);
float3 NewRad = AccRad;
float3 PrevRad = HistoryRad[SampleIdx].xyz;
float3 NewRad = lerp(NewRadiance, PrevRadiance, lerpFactor);
HistoryRad[SampleIdx] = float4(NewRad,1.0f);
Above is the relative code, has anyone had a similar problem or has any suggestions?