Added a call to output.CopyPropertiesFromMaterial(source) in the Instance method of MaterialInstance.cs. This ensures that the newly created output material inherits all properties from the source material, maintaining consistency between them.
Changes
Fixes: #221
Verification
This optional section is a place where you can detail the specific type of verification
you want from reviewers. For example, if you want reviewers to checkout the PR locally
and validate the functionality of specific scenarios, provide instructions
on the specific scenarios and what you want verified.
If there are specific areas of concern or question feel free to highlight them here so
that reviewers can watch out for those issues.
As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
Overview
Added a call to
output.CopyPropertiesFromMaterial(source)
in theInstance
method ofMaterialInstance.cs
. This ensures that the newly createdoutput
material inherits all properties from thesource
material, maintaining consistency between them.Changes
Verification