tune denoise

This commit is contained in:
Cat Flynn 2023-02-26 03:27:52 +00:00
parent 10c1daf676
commit 9b85cf18a2
1 changed files with 3 additions and 3 deletions

View File

@ -49,9 +49,9 @@ vec4 denoise(sampler2D tex, vec2 uv, float sigma, float kSigma, float threshold)
void main() void main()
{ {
float sigma = 2.2; float sigma = 2.0;
float kSigma = 10.0; float kSigma = 7.0;
float threshold = 0.2; float threshold = 0.18;
FragColor = denoise(ourTexture, TexCoord, sigma, kSigma, threshold); FragColor = denoise(ourTexture, TexCoord, sigma, kSigma, threshold);
//FragColor = texture(ourTexture, TexCoord); //FragColor = texture(ourTexture, TexCoord);