Hello.
I want to create a loader animation. I want to create a box mesh (maybe sphere mesh later) which would change color depending on how much has been loaded.
So let’s say I have a box that is 5x5x5 segments and there is 20% of data loaded. I want to color bottom row segments (on all faces) in red and top 4 rows in gray.
How can I achieve this?
I was thinking about stacking 5 box meshes together and updating their color, which would work, but what about sphere or any other more complex object? Is there a dynamic and universal way?
I’m using r127
Thanks!