Search Unity

Generate materials by texture or material?..

Discussion in 'Editor & General Support' started by spaceMan-2.5, May 17, 2011.

  1. spaceMan-2.5

    spaceMan-2.5

    Joined:
    Oct 21, 2009
    Posts:
    710
    Hi..

    i´m currently using "by texture material generation", actually i´m just using only one kind of material (toon shading), all my objects use toonshading, that means i can get performance if i use only 1 shared material for all the objects, but each object has its own texture, while i´m importing the object, unity generates a material for that texture, so, if i have 10 toon objects, there are 10 different materials, because there are 10 different textures, i think this is not good to gain performance,, :-|

    is there a way to generate 1 shared material for all my object taking in mind that each object has its own texture?..
    i know i can solve this with atlas, but, if there is another way, i will go for it..

    some idea?

    thanks.