Hi everyone, I'm having some issues with a clipped panel. As the title says, I have a panel that's draggable and clipped, which displays a list of GameObjects, each one composed of usernames, avatars, and some other text.
The avatars are not square, they have an hexagonal mask. To achieve this, they are Texture widgets with a special shader
I found here. The shader works fine in general (you can see the avatars - all with the FB icon - are hex-shaped), but
when they get clipped by the panel, they keep showing even outside the boundaries. Only when completely out of sight, they get hidden (probably the GameObject is disabled?).
Check the screen:

In my understanding the problem is the shader that doesn't support clipping, but I can't really write shaders, so I'm asking if any of you would be so nice to help me with this. As I said, the shader I'm using for those avatars
is this. I think I just need a modified version of it, maybe mixed with NGUI's default "Unlit - Transparent Colored (AlphaClip)" for alpha clipping.
Thanks a lot!