- Home /
3d object outline shader
Hello, I'm a unity3d beginner.
My question is outline shader.
I try to use a cartoon shader. but shader is not perfect.
Plz look at the picture ..
I want to make a outline like a picture .. !
How can draw the outline ? plz help me !
Answer by Exalia · Sep 16, 2013 at 10:30 AM
There are a couple of ways you could go about this:
This seems to be very similar to trying to get a Wireframe effect. IF your platform is PC before GL.Wireframe there were algorithms made such as : Barymetric Wireframe and Wireframe Script
The Asset Vectrosity
From the images you've shown it looks like you just want the outline of each face, you could create a texture with a Line around the edge and a black/white center and then alpha blend it to make it translucent if that's what you need.
Most of these are just Ideas but I hope they can assist you in finding the answer you need :)
Barymetric WireFrame is very nice!!! :) Thank you Exallia! have a nice day ~ and Barymetric wireframe can't not use another object? like a computer mouse .. !
Your answer
Follow this Question
Related Questions
Starting and Ending points of LineRenderer 1 Answer
Line Renderer Ilumination 1 Answer
Silhouette Toon Shader 0 Answers
Drawing a Texture on top of another Texture 2 Answers
Blueprint Shader 2 Answers