Skip to content

Commit a31feb5

Browse files
committed
fix blending
1 parent 7869453 commit a31feb5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

example/materialBall.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ async function init() {
153153
blending: THREE.CustomBlending,
154154
} ) );
155155

156-
denoiseQuad = new FullScreenQuad( new DenoiseMaterial() );
156+
denoiseQuad = new FullScreenQuad( new DenoiseMaterial( {
157+
map: ptRenderer.target.texture,
158+
blending: THREE.CustomBlending,
159+
} ) );
157160

158161
controls = new OrbitControls( perspectiveCamera, renderer.domElement );
159162
controls.addEventListener( 'change', () => {

0 commit comments

Comments
 (0)