Skip to content

Commit

Permalink
Dont clamp in accum pass
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed May 3, 2024
1 parent 7efeced commit 992f9bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shaders/kDatamosh.fx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ namespace kDatamosh
UpdateAcc += lerp(-Random.z, Random.z, Quality * 0.02);

// Reset to random level
float ResetAcc = saturate((Random.z * 0.5) + Quality);
float ResetAcc = (Random.z * 0.5) + Quality;

// Reset if the amount of motion is larger than the block size.
[branch]
Expand All @@ -243,7 +243,7 @@ namespace kDatamosh
}
else
{
OutputColor = float4(saturate((float3)UpdateAcc), 1.0);
OutputColor = float4((float3)UpdateAcc, 1.0);
}

return OutputColor;
Expand Down

0 comments on commit 992f9bc

Please sign in to comment.