Hello UnityAnswers! I’ve been searching around the internet for a potential solution to my problem for the past 6 hours now, and to no avail.
Here’s the problem
I’ve created a ceiling lamp model, and from that model I have 2 textures and 2 materials, one set used for an “On” lamp and the other set for an “Off” lamp based on their respective prefabs. (You can see my file structure here).
These two lamps are working nicely so far, but there’s something I’d like to do with the “On” lamp, which involves a very subtle animation.
I decided that the way I was going to do this was by having separate images for the different frames of the animation, the ol’ traditional way.
This is my problem in particular, there seems to be no obvious way of having a looping frame by frame texture animation for a 3D mesh so far that I can perceive in Unity. I do understand that there may be potential of having some code that runs the images in a for loop, or perhaps a Shader that can do the whole animation; except that there seems to be no clear or present step-by-step walkthrough on how to do so.
Long story short, how would I go about turning these:
into this, but in 3D space inside Unity on a Mesh (warning, the animation is very subtle):