- Home /
How to make border lines of mesh visible?
Hello, I would like to make something like this:
To make lines of object visible by camera. Does anyone knows how to make this effect? Btw, this is "One late night" horror game, made in unity, but Pro.
This effect is typically achieved using a two pass shader. The first pass renders the image in yellow and slightly larger then the original image. The second pass renders the actual image on top. Not making this an answer because I have no idea how to actually write the shader for you.
There is a Unity Gems tutorial that might be adaptable to this.
http://answers.unity3d.com/questions/827982/draw-outline-around-2d-shape.html#answer-828118
question has been asked, check out the links in the answer and at the comment. Useful assets
Answer by Cherno · Nov 11, 2014 at 12:55 AM
Look for the Silhoutte Outline shader from the Unity wiki.
Your answer
Follow this Question
Related Questions
Fixed pixel thickness shader for MeshTopology.lines? 1 Answer
How to force the compilation of a shader in Unity? 5 Answers
Shader draw lines 0 Answers
Certain Materials visible behind objects 0 Answers