three-gpu-pathtracer 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/postprocessing/Pass.js'), require('three/examples/jsm/postprocessing/Pass'), require('three-mesh-bvh'), require('three/examples/jsm/utils/BufferGeometryUtils.js')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/postprocessing/Pass.js', 'three/examples/jsm/postprocessing/Pass', 'three-mesh-bvh', 'three/examples/jsm/utils/BufferGeometryUtils.js'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ThreePathTracer = global.ThreePathTracer || {}, global.THREE, global.THREE, global.THREE, global.MeshBVHLib, global.THREE));
5
- })(this, (function (exports, three, Pass_js, Pass, threeMeshBvh, BufferGeometryUtils_js) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('three/examples/jsm/postprocessing/Pass.js'), require('three-mesh-bvh'), require('three/examples/jsm/utils/BufferGeometryUtils.js')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'three', 'three/examples/jsm/postprocessing/Pass.js', 'three-mesh-bvh', 'three/examples/jsm/utils/BufferGeometryUtils.js'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.ThreePathTracer = global.ThreePathTracer || {}, global.THREE, global.THREE, global.MeshBVHLib, global.THREE));
5
+ })(this, (function (exports, three, Pass_js, threeMeshBvh, BufferGeometryUtils_js) { 'use strict';
6
6
 
7
7
  class MaterialBase extends three.ShaderMaterial {
8
8
 
@@ -444,7 +444,7 @@
444
444
  const ogTarget = renderer.getRenderTarget();
445
445
  renderer.setRenderTarget( target );
446
446
 
447
- const quad = new Pass.FullScreenQuad( new SobolNumbersMaterial() );
447
+ const quad = new Pass_js.FullScreenQuad( new SobolNumbersMaterial() );
448
448
  quad.material.resolution.set( dimensions, dimensions );
449
449
  quad.render( renderer );
450
450