Skip to content

Commit b11145d

Browse files
committed
Update docs for denoise material
1 parent 3d225ce commit b11145d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,29 @@ _extends MaterialBase_
566566
}
567567
```
568568

569+
## DenoiseMaterial
570+
571+
_extends MaterialBase_
572+
573+
Denoise material based on [BrutPitt/glslSmartDeNoise](https://github.com/BrutPitt/glslSmartDeNoise)
574+
575+
**Uniforms**
576+
577+
```js
578+
{
579+
580+
// sigma - sigma Standard Deviation
581+
// kSigma - sigma coefficient
582+
// kSigma * sigma = radius of the circular kernel
583+
sigma = 5.0 : Number,
584+
kSigma = 1.0 : Number,
585+
586+
// edge sharpening threshold
587+
threshold = 0.03 : Number,
588+
589+
}
590+
```
591+
569592
## RenderTarget2DArray
570593

571594
_extends WebGLArrayRenderTarget_

0 commit comments

Comments
 (0)