- Home /
Change Color of Object Based on Shape Covering It
Hi. I'm new to unity and i don't have the slightest idea on how to do what i want. I was hoping i could get input so i can know where to start.
Let say i have three objects. One is shaped like a circle. The other is shaped like half a circle. And the last one is shaped like a thin rectangle
A - circle
B - half circle
C - thin rectangle
I use A as my base. I put B on top of it covering half of A. Then i put C on top of both of them.
I change the visible color of A (considering the shapes on top of it)
I remove B and C and A's color should look like there are purple slices.
Does anyone here know how this could be done in unity? Is there even a way to do this? Thanks.
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
What graphics API does Unity's web player use? 0 Answers
I want to add stripes at varying lengths on my object. How do I do that? 2 Answers
Broken UI Mask and downsides of using OpenGLES2 0 Answers
Mask shader with shadows 0 Answers