Tiled Animation Problem

Hello again,

After a long search, I’ve came across a solution for my needs, but now I face a problem, which I can’t seem to solve. :slight_smile:

http://img25.imageshack.us/img25/2551/unityqg.jpg

Problem here is, My object has several materials, the 4th material contains the Tiled Texture for animation.
This means, when adding a Tiled animation texture .JC code to the object, it always uses the first material, and as mine is 4th on the list, and seen as I can’t seem to change it, this would mean I will have to remake model?

The Tiled texture has to be ‘Self-Illuminate/Diffuse’ so it looks bright, as if its a light.
Problem with this is, it only seems to work (Animate) on the ‘Base’ texture slot, which doesnt make it seem bright atall

Any suggestions? I’m LOST!

The script only uses the 1st material because most people use just 1 material/texture to save on draw calls.

Rebuilding your mesh isn’t going to reorder the materials.

You’ve got a few options -
a) Add an option to the script, so you can give it a particular material to do whatever voodoo.
b) Separate the polygons that are material #4 so it’s own mesh. (it would then be material #1)
c) Use one texture for the whole mesh.

Right thanks, I’ll try one of those options.

Still a question left, is it possible for Tiled Animation to work on ‘Illumin (A)’ second slot, or does it only work on ‘Base (RGB)’ slot one as seen on the picture?

Thanks again.