- Home /
Outline every edge not only its "silhouette"
I have a 3D terrain with orthographic camera view and i am trying to get outline to every edge where the terrain changes. I tried modifing the built in toon outline shader and even the edge detection script, but i have no experience in these rendering methods.
The black line shows the outline, and the red shows where i want to get the outline as well.
"Where the terrain changes" it not too descriptive. Does the texture change, or just the angle of the normals? A shader could be written for the latter case, not sure on the former, but in any case for a beginner it'd be far easier to just incoporate the lines into the texture itself at the required places.
Your answer
![](https://koobas.hobune.stream/wayback/20220613193509im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Exclude outline only, from fog, in custom toon shader. 1 Answer
Combine Shaders 0 Answers
Is there a shader to draw outline of a solid sphere in unity 20.1.0a12 , that works in unity WebGL? 0 Answers
How to Get Nice Thick Toon-Like Outlines On Non-Smooth Geometry? 1 Answer
Shader Assitance: Sprite Outline Color, Hidden Object -1 Answers