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.28k stars 125 forks source link

Use async compile in CompatibilityDetector #459

Open gkjohnson opened 8 months ago

gkjohnson commented 8 months ago

With mrdoob/three.js#19752

Test on windows-specifically

gkjohnson commented 5 months ago

The async compile function sees to work for the very slow-to-compile shaders on windows meaning compilation can start while a model is downloading & BVH building.