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: Ensure items only update when needed #604

Closed gkjohnson closed 2 months ago

gkjohnson commented 2 months ago

Test perf on examples. SkinnedMesh, animated demo seem problematic

gkjohnson commented 2 months ago

Note this is because the bone texture version will change constantly. We should instead generate a hash based on it.