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