Fix: Cycles: wrong refractive index in path guiding #112157

Merged
Weizhen Huang merged 3 commits from weizhen/blender:fix-path-guiding-eta into main 2023-09-18 16:20:57 +02:00

3 Commits

Author SHA1 Message Date
4aedd0b095 Use #ifdef instead of #if
Some checks failed
buildbot/vexp-code-patch-coordinator Build done.
2023-09-18 14:18:14 +02:00
8c5d71f0f4 Merge branch 'main' into fix-path-guiding-eta 2023-09-18 13:01:32 +02:00
41f6a01788 Fix: Cycles: wrong refractive index in path guiding
Some checks reported errors
buildbot/vexp-code-patch-coordinator Build done.
should be the relative IOR of the outgoing media to the incoming media,
depending solely on `bsdf->ior` and whether the interaction is
refraction.
Ref: https://uni-tuebingen.de/fakultaeten/mathematisch-naturwissenschaftliche-fakultaet/fachbereiche/informatik/lehrstuehle/computergrafik/lehrstuhl/veroeffentlichungen/robust-fitting-of-parallax-aware-mixtures-for-path-guiding/
2023-09-08 19:21:34 +02:00