Skip to content

KHR_materials_clearcoat_ior#2530

Open
MiiBond wants to merge 1 commit intoKhronosGroup:mainfrom
MiiBond:mbond/KHR_materials_clearcoat_ior
Open

KHR_materials_clearcoat_ior#2530
MiiBond wants to merge 1 commit intoKhronosGroup:mainfrom
MiiBond:mbond/KHR_materials_clearcoat_ior

Conversation

@MiiBond
Copy link
Contributor

@MiiBond MiiBond commented Sep 25, 2025

This adds an IOR uniform to the coat layer.

"default": 1.5,
"oneOf": [
{
"minimum": 0.0,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is how the base layer IOR extension is defined but, to be honest, I don't quite understand this. What's with the minimum: 0 and maximum 0?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The base IOR extension allows (ior == 0.0) || (ior >= 1.0). The zero is a special case to support legacy content, see the extension spec for details.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PBR Physically Based Rendering

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments