2
0
Эх сурвалжийг харах

Editor: Viewport.Pathtracer clean up.

Mr.doob 1 жил өмнө
parent
commit
2b6dfe9b58

+ 2 - 1
editor/js/Viewport.Pathtracer.js

@@ -1,3 +1,4 @@
+import * as THREE from 'three';
 import { FullScreenQuad } from 'three/examples/jsm/postprocessing/Pass.js';
 import {
 	PathTracingSceneGenerator,
@@ -23,7 +24,7 @@ function ViewportPathtracer( renderer ) {
 
 			quad = new FullScreenQuad( new THREE.MeshBasicMaterial( {
 				map: pathtracer.target.texture,
-				blending: 5 // THREE.CustomBlending
+				blending: THREE.CustomBlending
 			} ) );
 
 		}