Search Unity

how to import obj with 2 materials on it

Discussion in 'General Graphics' started by unity_1C79C787B30E996F515D, Dec 28, 2021.

  1. unity_1C79C787B30E996F515D

    unity_1C79C787B30E996F515D

    Joined:
    Dec 28, 2021
    Posts:
    1
    So i have this cave in blender, i used mix shader to combine 2 texture, one for floor another for the walls, and when i import it to unity i can only place one material on the object.
    upload_2021-12-29_0-10-28.png

    upload_2021-12-29_0-11-49.png

    i used vertex paint to do it
     
  2. kdgalla

    kdgalla

    Joined:
    Mar 15, 2013
    Posts:
    4,634
    You'd need to recreate the same shader in Unity. I don't believe Unity has a built-in shader that blends two textures using vertex colors. Maybe the terrain shader might do something similar but I'm not sure how that works.