autodesk-forks / MaterialX

MaterialX C++ and Python libraries
http://www.materialx.org/
Apache License 2.0
107 stars 23 forks source link

Update standard surface implementation for new default values. #1060

Closed bernardkwok closed 3 years ago

bernardkwok commented 3 years ago

A new version of MTLX standard surface which has new "base" and "base color" and "specular_roughness" values is required as discussed with @iliyang, @niklasharrysson:

Assume version would be 1.0.2 which needs to be added to the appropriate MTLX repos as well as modified in the standard surface repo.

See: https://github.com/Autodesk/standard-surface/pull/15

Under discussion is best way to add a version if only the default values change. Also for 1.39 a possible new way to perform nodegraph implementation associations. (https://autodesk.slack.com/archives/C9QRG78DU/p1610561641360800)

bernardkwok commented 3 years ago

Attached is something that can work but it's ugly as the nodegraph implementation is duplicated.

standard_surface_versioned.mtlx.txt

bernardkwok commented 3 years ago

Merge into standard surface PR: https://github.com/Autodesk/standard-surface/pull/16.

bernardkwok commented 3 years ago

Standard surface repo has been updated: https://github.com/Autodesk/standard-surface/pull/16. Closing this.