Hey, I need to transfer many color values from one shader to another. But I need to transfer the, I will call it the 'Main Color', so the value that makes it color change. For a lambert shader it would be the 'color' attribute. But for some other it might be the 'diffuse' or something else. Is there any way to determine by script what the name of the 'main color' equivalent is?
But sometimes shader do have multiple of main color equivalent. Like 'color' and 'diffuse' but only one is acting as the 'mainColor'. Is there a way to differentiate between them?
2 months later
closed Apr 17, '19
This topic was automatically closed after 87 days. New replies are no longer allowed.