Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diffuse base_weight description changed to match MaterialX EON implementation #205

Merged

Conversation

portsmouth
Copy link
Contributor

@portsmouth portsmouth commented May 28, 2024

As discussed in AcademySoftwareFoundation/MaterialX#1822 (comment), the MaterialX implementation assumed that the base_weight acts as an overall multiplier of the EON BRDF. While in the OpenPBR spec, we had base_weight instead multiplying base_color.

In fact the MaterialX intepretation seems better, since then the base_weight functions as a linear modulation of the overall albedo, rather than doing something non-linear and dependent on the color. This PR makes the necessary changes to the wording/math of the spec to implement this.

image

image

@portsmouth portsmouth changed the title Diffuse base_weight description changed to match MaterialX Diffuse base_weight description changed to match MaterialX EON implementation May 28, 2024
index.html Outdated Show resolved Hide resolved
Copy link
Member

@jstone-lucasfilm jstone-lucasfilm left a comment

Choose a reason for hiding this comment

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

This looks great, thanks @portsmouth!

@jstone-lucasfilm jstone-lucasfilm merged commit e9f122b into AcademySoftwareFoundation:main May 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants