Search - User list
Full Version: Material Variants with Override
Root » Solaris and Karma » Material Variants with Override
iamjaden
Hello,

I want to create color variations of my material by editing the base_color property of my shader.
My problem arises when I try to create a variant set off of this. I can not override my property because it‘s opinion is stronger than the variants opinion of the property.

How to go about this? Can someone shed some light on this
?
iamjaden
Hi,

I got it! The docs actually describe what to do:

Opinions expressed in variants are weaker than opinions expressed in the local layer stack. This strength ordering can make it appear that the variant is having no effect on the primitive. The option to Warn of Weak Variant Opinions will add a warning to this node if this situation is detected. In this case, the simplest solution is to enable the use of a separate Source Primitive. Set the Source Primitive to the current value of the Primitive Path, and set the Primitive Path to a new path where the variants will be created, using a reference to the Source primitive. Opinions expressed in variants are stronger than opinions expressed in references, so the opinions in the variant will be composed onto the stage as expected.


This worked out!

jaden
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB