Skip to content

Conversation

@marpe
Copy link
Contributor

@marpe marpe commented Sep 19, 2018

The comparison of materials went bonkers when merging lods with the -share-materials flag when top level materials are converted to metal roughness. This compromise is still far from optimal, but I can't think of a better solution off the top of my head :/

@najadojo
Copy link
Contributor

What do you mean by bonkers? Removing specGloss can be an optional step in a consumer's workflow I don't think its prudent to remove this comparison.

@marpe
Copy link
Contributor Author

marpe commented Sep 20, 2018

Well I have 3 LODs I want to merge but since the spec gloss in top level materials are removed the comparison fails

@marpe marpe changed the title Don't bother comparing spec gloss members since top level materials are converted to metal rough Perform material processing after lod merging to fix share material comparison Sep 24, 2018
Copy link
Contributor

@najadojo najadojo left a comment

Choose a reason for hiding this comment

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

Thanks for reworking this. @robertos any concerns before merging this PR?

@najadojo najadojo merged commit a55c8a2 into microsoft:master Oct 1, 2018
@marpe marpe deleted the feature/fix_share_material_comparison branch October 3, 2018 09:22
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.

3 participants