Multiple textures in 1 material, it is possible?

Hey there.

I need to load images and text in one cube from an external data source (xml file, database, etc)

I found the way to load dynamically images with AssetBundle, but is possible to load 2 textures and a 3dtext in the same material?? Similar to flash MovieClip.

If it doesn’t, what’s the best way to make it??

thanks

anyone??

i will take advantage of your topic to ask if theres any comand to write so i can change the material assigned to the object during run time

Best I can figure is creating a UV material map so you load one image for the material which is really a mishmash of multiple images, but because you use specific UV coordinates, each portion of that image can be used separately.

See this: http://static.creativecrash.com/tutorialimages/248/rodax_uv_800.jpg

As for the “3dtext”, not sure about that.

Warp boy2, you can alter and reassign the materials array assigned to objects: Unity - Scripting API: Renderer.materials

Hey Fizix, thanks for your answer.

Good idea. May be i have an idea now.

Thanks again