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

MaterialX: metal edge tint should not be multiplied by specular_weight #240

Open
wants to merge 1 commit into
base: dev_1.2
Choose a base branch
from

Conversation

portsmouth
Copy link
Contributor

@portsmouth portsmouth commented Oct 22, 2024

Fixes a bug in the MtlX graph. The edge-tint color for the generalized_schlick_bsdf should not be multiplied by specular_weight, as the whole lobe is multiplied by specular_weight as well.

(Note that MtlX still does the wrong thing if specular_weight > 1, but that's not fixable on the OpenPBR side, unless we just clamp the weight so specular_weight > 1 does nothing to the metal).

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.

1 participant