Graphics

 View Only
Expand all | Collapse all

Using the same material for two different objects but changing the color independently

  • 1.  Using the same material for two different objects but changing the color independently

    Posted 01-29-2021 20:50

    Hello,

    I am trying to change the color of an object via c# code.  I have two different objects which use the same material.  To change the color I change the color diffuse of the material.  However, if I change one the other changes.  I want them to change independently.   Do I need to use two different materials or is there another way to change the color so that only one changes at a time?

    thanks

    dave

     



  • 2.  RE: Using the same material for two different objects but changing the color independently

    Posted 01-29-2021 21:30

    Hello,

    I answered my own question.  It is just one material object used in two different base objects.  

    thanks

    dave

     


    #XPression