i want X-ray effect on sprite,
sprite1(background image)
sprite2(foreground image)
(both are with same size)
sprite3(another foreground image, size smaller than sprite2)
so when sprite3 is hovered on sprite2, i want to make that much part of sprite3 visible.
i tried to do it with following shader, but it didn't work,
http://unitycoder.com/blog/2012/02/22/x-ray-cutout-shader-with-mouse/any idea, how to do this??
-Thanks