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

HYDRA-1267 - fix translation of coat parameters from standardsurface and openpbrsuface #195

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

lilike-adsk
Copy link
Collaborator

To get a more aligned visual result as VP2, using similar algorithm as MaterialX to translate coat parameters from Standard/OpenPBR Surface to UsdPreviewSurface
1.Like VP2, Coat color can contribute to Diffuse and Emissive Color now
2.Like VP2, Coat color can contribute to ClearCoat now

Also, refine the testStandardSurface/testOpenPBRSurface test case cover more params.

const TfToken& _remappedBaseWeightName;
const TfToken& _remappedCoatColorName;
const TfToken& _remappedCoatWeightName;
};

class MayaHydraOpenPBREmissionColorMaterialAttrConverter : public MayaHydraComputedMaterialAttrConverter
Copy link
Collaborator Author

@lilike-adsk lilike-adsk Oct 31, 2024

Choose a reason for hiding this comment

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

This will be eventually replaced by MayaHydraMixedColorMaterialAttrConverter when Maya has emissionWeight exposed via another PR.

@lilike-adsk lilike-adsk self-assigned this Oct 31, 2024
@lilike-adsk lilike-adsk merged commit d06983e into dev Nov 4, 2024
10 of 16 checks passed
@lilike-adsk lilike-adsk deleted the lilike/HYDRA-1267/fix-coat-params-translation branch November 4, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants