Skip to content

Commit 3d225ce

Browse files
committed
Fix denoise tonemapping
1 parent ec76b02 commit 3d225ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/materials/DenoiseMaterial.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ export class DenoiseMaterial extends MaterialBase {
125125
void main() {
126126
127127
gl_FragColor = smartDeNoise( map, vec2( vUv.x, vUv.y ), sigma, kSigma, threshold );
128+
#include <tonemapping_fragment>
129+
#include <encodings_fragment>
128130
129131
}
130132

0 commit comments

Comments
 (0)