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

Setting ior to 1 results in a black render #429

Open gkjohnson opened 1 year ago

gkjohnson commented 1 year ago

ior of 1.0000001

image

ior of 1.0

image

gkjohnson commented 5 months ago

Also in khronos-TransmissionRoughnessTest:

image
gkjohnson commented 5 months ago

Possibly related to floating point errors. The same issue occurs with thin surface transparency with some banding:

image
gkjohnson commented 5 months ago

Possibly needs a deeper look at the fresnel behavior in the bsdf.