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.34k stars 133 forks source link

Determine whether we need higher precision buffers for env map #467

Open gkjohnson opened 10 months ago

gkjohnson commented 10 months ago

466 adjusts the env maps to use half float values rather than 32 bit values to accommodate devices like iphones that don't support blending or using interpolated float buffers. Is it worth defaulting to float32 and falling back?