gkjohnson / three-gpu-pathtracer

Path tracing renderer and utilities for three.js built on top of three-mesh-bvh.
https://gkjohnson.github.io/three-gpu-pathtracer/example/bundle/index.html
MIT License
1.27k stars 125 forks source link

WebGLPathTracer: Afford web worker build #578

Closed gkjohnson closed 3 months ago

gkjohnson commented 3 months ago
const renderer = new WebGLPathTracer;
renderer.setSceneWorker( PathTracingSceneWorker );
renderer.updateSceneAsync( camera, scene );