KHR_materials_coat - "Advanced Coat" - #2534
Conversation
|
|
Darkening: the hemisphere-averaged reflectance looks ~6.3x too highWe've implemented this extension in the DisplayXR model viewer — every property in the parameter tables, including The Real-time Implementation section defines:
"Halfway between The cosine-weighted average of the Schlick Fresnel has a closed form: For a 1.5-IOR coat (
a factor of 6.3. Carried through the section's own
So as written, ambient light loses ~50% where direct light loses ~8%. That gap is visible rather than subtle: it puts a dark band on the unlit side of every coated surface, because that is exactly where ambient dominates. With the cosine-weighted average it becomes 12% against 8%, and the band goes away. We ship the latter. Suggested replacement for that paragraph:
Happy to supply the before/after capture pair if it's useful for the discussion. David Fattal — implementing for the DisplayXR project (model viewer). |
Darkening: which
|
|
|
This is a rough draft of an extension that would replace the existing KHR_materials_clearcoat as well as the proposals for various sub-extensions for clearcoat, including for IOR, color, anisotropy and darkening.
This is an attempt to bring compatibility with OpenPBR's coat layer.