Closed portsmouth closed 2 days ago
Corresponding change to MaterialX graph to follow..
Since this is a potentially look breaking change without a way to restore the previous look, we need to discuss which branch/version this change would target before considering merging. It is also arguably a loss in functionality so I would like to see if there is a consensus.
Corresponding change to MaterialX graph to follow..
Done in aee8093ef98a05d6bfa0658e9108d8cdf8414004 (just removes a clamp).
If we decide to go with the proposal of https://github.com/AcademySoftwareFoundation/OpenPBR/pull/238, we can delete this PR.
Closing, as we decided to retain the specular_weight
> 1 functionality.
As discussed on Slack, the spec is currently inconsistent about the range of
specular_weight
.For dielectrics, we allow it to exceed 1, as a sort of convenience. For metals, we don't (or at least didn't intend to, as it breaks energy conservation), but this doesn't make sense since there is only one parameter with a defined range.
This PR makes the
specular_weight
consistently bounded in $[0,1]$. As noted by @peterkutzThis also simplifies the implementations slightly.