Skip to content

Commit 2b6dfe9

Browse files
committed
Editor: Viewport.Pathtracer clean up.
1 parent 16c15ef commit 2b6dfe9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

editor/js/Viewport.Pathtracer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import * as THREE from 'three';
12
import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass.js';
23
import {
34
PathTracingSceneGenerator,
@@ -23,7 +24,7 @@ function ViewportPathtracer( renderer ) {
2324

2425
quad = new FullScreenQuad( new THREE.MeshBasicMaterial( {
2526
map: pathtracer.target.texture,
26-
blending: 5 // THREE.CustomBlending
27+
blending: THREE.CustomBlending
2728
} ) );
2829

2930
}

0 commit comments

Comments
 (0)