Weizhen Huang
db4a2de620
Fix: EEVEE: Principled BSDF not matching Cycles near IOR == 1
...
Schlick's approaximation used by EEVEE is not accurate near `IOR == 1`,
especially when IOR is exactly one, there is no specular reflection and
the material should appear diffuse.
Cycles bypass the issue by lerping between the f0 and f90 color using
the factor derived from real Fresnel curve. In EEVEE we can use the same
trick as in Glass BSDF to smooth the transition at `IOR == 1`.
Note that at `IOR < 1` there is still mismatch, because f0 is prebaked
in the BTDF look up table. In the future if we color f0 using
`specular_tint`, we can split the table and use the BTDF LUT for the
specular component too.
2023-09-06 12:47:30 +02:00
..
2023-09-03 16:15:01 +10:00
2023-08-22 19:24:07 +02:00
2023-09-06 12:47:30 +02:00
2023-09-04 15:15:55 +02:00
2023-09-04 15:15:55 +02:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-29 15:55:09 +10:00
2023-08-29 15:55:09 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-09-03 16:15:01 +10:00
2023-08-29 15:55:09 +10:00
2023-08-24 10:57:03 +10:00
2023-08-25 09:40:42 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-25 09:40:42 +10:00
2023-08-25 09:40:42 +10:00
2023-08-24 10:57:03 +10:00
2023-08-25 09:40:42 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-25 09:40:42 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-25 09:40:42 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00
2023-08-25 09:40:42 +10:00
2023-08-24 10:57:03 +10:00
2023-08-24 10:57:03 +10:00