From 892bec867c9c887aba79f11e12022377a443e146 Mon Sep 17 00:00:00 2001 From: Cat Flynn Date: Sun, 26 Feb 2023 03:27:52 +0000 Subject: [PATCH] tune denoise --- shader/quad/shader.frag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shader/quad/shader.frag b/shader/quad/shader.frag index 45921df..1643a3e 100644 --- a/shader/quad/shader.frag +++ b/shader/quad/shader.frag @@ -49,9 +49,9 @@ vec4 denoise(sampler2D tex, vec2 uv, float sigma, float kSigma, float threshold) void main() { - float sigma = 2.2; - float kSigma = 10.0; - float threshold = 0.2; + float sigma = 2.5; + float kSigma = 7.0; + float threshold = 0.3; FragColor = denoise(ourTexture, TexCoord, sigma, kSigma, threshold); //FragColor = texture(ourTexture, TexCoord);