- Home /
Question by
bhavinbhai2707 · Jul 16, 2018 at 08:34 PM ·
c#meshcolortriangles
Change Color of model from Down to up!
I created this small effect few days back
what i am doing here is, I am getting all the Triangles of sphere model and creating them as a new GameObject and then rotating them.
By creating this effect i got this idea of "can i change color of model from Down to up(triangle by triangle) to create a nice effect like model changing to something else?"
But i don't really know how to do it!
i tried to get all the Triangles and vertices of the model but they don't really have their own material data!
so i can't really change the color.
Has anyone any idea on how can i do it?
Comment
Answer by mayur7garg · Jul 17, 2018 at 07:26 AM
Such effects are usually achieved by custom-made shaders. Try writing your own or find one which matches your needs.