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

Fog seems to not be respected anymore #495

Closed gkjohnson closed 5 months ago

gkjohnson commented 5 months ago
image
gkjohnson commented 5 months ago

Fixed by adjusting the traceScene function to not rely on a light hit