Textures

Hi there people.

I wonder if anyone can help me:

I have a bunch of 3d models, that are textured. Lets say i import them into unity and use them. I can’t batch them becouse they
all have seperate texure files. Is there a way inside of unity that takes all this textures and makes a texture atlas of them and
then updates the uv’s for the models?

Thx for your help

Jerne Beg

step1 : Making an atlas <== Texture2D.PackTextures()

step2 : Updating UVs <== Use the returned array of the PackTextures method to modify uv coordinates of your objects. Math involved in this shouldn’t be overly complicated and I wouldn’t be surprised if it already exists around somewhere…