Update consoles building
This commit is contained in:
@@ -69,7 +69,7 @@ float4 PS(Quad_VS2PS input) : SV_Target0
|
||||
|
||||
// Sample history by clamp it to the nearby colors range to reduce artifacts
|
||||
float4 history = SAMPLE_RT_LINEAR(InputHistory, prevUV);
|
||||
float lumaOffset = abs(Luminance(neighborhoodAvg) - Luminance(current));
|
||||
float lumaOffset = abs(Luminance(neighborhoodAvg.rgb) - Luminance(current.rgb));
|
||||
float aabbMargin = lerp(4.0, 0.25, saturate(velocityLength * 100.0)) * lumaOffset;
|
||||
history = ClipToAABB(history, neighborhoodMin - aabbMargin, neighborhoodMax + aabbMargin);
|
||||
//history = clamp(history, neighborhoodMin, neighborhoodMax);
|
||||
|
||||
Reference in New Issue
Block a user