Cover up (or mask) portion of gameobject(s)
I have a floor GameObject (plane), and I've made a grid of Quads over it (as tiles). Now, the thing is the length of tiles can vary and as such, while placing, it exceeds the dimensions of the floor. So, I was thinking instead of cutting the Quad tile, I'd try and cover it up instead.
'm thinking of a layer system kinda like in Photoshop. So this is what I have in mind:
The smaller squares are the Quad (tiles) and the Red square is the floor (plane). The orange part of the Quad (tiles) shouldn't be visible.
How do I approach this problem? Any help would be appreciated.
Your answer
Follow this Question
Related Questions
Grayscale Effect only on one object (two cameras) 1 Answer
Masking out portions of a GameObject's children 1 Answer
Invisible transition mask 0 Answers
Trying to write a 2d mask shader with stencil 0 Answers
After updating to Unity 2017.2 UI masks are not working.,Unity 2017.2 UI mask issue 0 Answers