Search Unity

Create 3D objects with different colors

Discussion in 'Getting Started' started by robrobse, Jan 11, 2020.

  1. robrobse

    robrobse

    Joined:
    Dec 11, 2019
    Posts:
    1
    Hello,

    I added this asset to my game: https://assetstore.unity.com/packages/3d/props/food/fruit-pack-80254

    What I would like to do is to put different kinds of fruits around my scene with three different colors: gold, silver and bronze. First I converted the texture image to black and white. Now I can place for example bananas with the b&w texture with silver color around the scene.
    However now every single banana I place uses this texture and color. How do I seperate them?


    Thank you!
     
  2. Bill_Martini

    Bill_Martini

    Joined:
    Apr 19, 2016
    Posts:
    445
    You need to make a material for each color you want. From there you can make a prefab of each fruit in each color or apply the material to each object after creation.
     
    JoeStrout likes this.