- Home /
This question was
closed May 17, 2014 at 01:16 PM by
meat5000 for the following reason:
Too subjective. Not relevant. Non specific question.
Question by
MyLittlePony69 · May 17, 2014 at 07:59 AM ·
c#shadermaterialtransparencyalpha
How do you make an X-ray vision following the mouse?
I'm trying to figure out how I can make an X-ray-like vision that follows the mouse. So when the cursor points at a certain object, it will show the insides of that object.
Like this one:
Thanks!
untitled.png
(26.6 kB)
Comment
Answer by Cherno · May 17, 2014 at 01:04 PM
This might get you started, for the actual X-Ray effect you just have to search for Silhouette / Outline Shaders.
http://unitycoder.com/blog/2012/02/22/x-ray-cutout-shader-with-mouse/