Skip to content

Commit

Permalink
Editor: Viewport.Pathtracer clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Jan 30, 2024
1 parent 16c15ef commit 2b6dfe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion editor/js/Viewport.Pathtracer.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as THREE from 'three';
import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass.js';
import {
PathTracingSceneGenerator,
Expand All @@ -23,7 +24,7 @@ function ViewportPathtracer( renderer ) {

quad = new FullScreenQuad( new THREE.MeshBasicMaterial( {
map: pathtracer.target.texture,
blending: 5 // THREE.CustomBlending
blending: THREE.CustomBlending
} ) );

}
Expand Down

0 comments on commit 2b6dfe9

Please sign in to comment.