react-three-gpu-pathtracer
react-three-gpu-pathtracer copied to clipboard
⚡️ A React abstraction for the popular three-gpu-pathtracer
When i want to use the path tracer component I always got this error: ``` import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'; ``` ``` ./node_modules/three-gpu-pathtracer/src/utils/GeometryPreparationUtils.js Attempted import error: 'mergeBufferGeometries' is not...
tried to use this on my vite react app but it says THREE.BufferGeometryUtils: .mergeGeometries() failed while trying to merge the color attribute. All the react, three, fiber drei versions are...

While loading the GLB, the geometry mesh becomes wierd. Do you know, why?
I'm trying to figure out how to insert lights within a pathtracing generated scene. Link to the relevant codesanbox: https://codesandbox.io/s/react-three-gpu-pathtracer-forked-g2l8l2?file=/src/App.js In this example, I added a red RectAreaLight within lines...
- three : ^0.149.0 - @react-three/fiber : ^8.11.8 - @react-three/drei : ^9.56.25 - next : 13.2.3 Problem description: Hello! I'm now use this lib with @react-three/fiber, drei in nextjs. When...
When I first add a cube, it looks black.
Hi! The [textureSize](https://github.com/gkjohnson/three-gpu-pathtracer?tab=readme-ov-file#texturesize) parameter seems to be missing. Would be great to get that working! All the best, Anton
Would be nice to be able to use **multipleImportanceSampling** as shown in [this example](https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/materialBall.html#transmission) https://github.com/gkjohnson/three-gpu-pathtracer/blob/761dc09a21aff6c952fddd0d0e403cc97aeb13ca/example/materialBall.js