- Home /
mesh highlighted, behind other objects shader
Hey I want somehow for my character to highlight him after he gets behind of an Object.
I know I need to write a shader for this.
Any suggestion from where I can start, or any specific documentation about this issue.
also known as phantom.
Bellow you can see what Exactly Im saying, not exactly approach but almost like this.
Thankx
Answer by tanoshimi · Sep 15, 2014 at 08:09 PM
You could try http://wiki.unity3d.com/index.php/Silhouette-Outlined_Diffuse as a starting point.
oo this is perfect thank you, I will move on with development of this shader!
Answer by Cherno · Sep 15, 2014 at 09:42 PM
I highly recommend the shader from this post instead:
http://forum.unity3d.com/threads/trying-to-make-a-silhouette-outline-shader.96005/#post-1408098
because the normal Silhouette Outline shader has overlapping problems:
http://answers.unity3d.com/questions/667483/silhouette-outline-shader-problem-with-overlapping.html
indeed siluet has problems with overlapping. When Im turning my character the part of the body that has the shader attached one is behaviouring strange :D
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Will Unity 3 Indie have emmisive light shaders? 1 Answer
Center a logo on an interactive cloth. 1 Answer
Is there any way to hide only part of an object from the camera? (unity free) 2 Answers
Pixelated Shader 1 Answer