Search Unity

Texture packer for 3d models?

Discussion in 'General Graphics' started by Bongmo, Nov 19, 2017.

  1. Bongmo

    Bongmo

    Joined:
    Jan 18, 2014
    Posts:
    155
    Hi.

    I bought a 3d vehicles (cars) package from the assetstore.

    All vehicles are low poly and every car has it's own color texture with 128x128.

    My problem here is, when I have a lot of static cars (10-20 pieces) in the scene, I get too much draw calls. (SetPass Calls: 19-20. It's not good for mobile)

    Is there a fast way to take this 128x128 color textures from every 3d model and put them on a 1024x1024 image? Then all the textures would be on the one image. And I would not have so many draw calls.

    Is there a automatic texture packer or something like that?

    I know, that I can do this by myself like open the 3d model in blender and then put the UV on the new 1024x1024 image. But that costs a lot of time.

    Thanks!
     
    Last edited: Nov 19, 2017
  2. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    As far as Im aware the best/fastest way to accomplish this would be in 3D. A pretty simple process to be honest.
    Are those color textures just color swatches/palette?
    If so could probably get away with texturing all the vehicles in 1x128 or at max 1x256 color texture.
     
  3. Steve-Tack

    Steve-Tack

    Joined:
    Mar 12, 2013
    Posts:
    1,240
  4. CodeAndWeb

    CodeAndWeb

    Joined:
    Jul 31, 2014
    Posts:
    60