Blender like cavity effect in unity 2020
Hi guys,
There is a feature on Blender called (Show Cavity). What that does: It detects all the edges of a model and separates the edges into two different categories (RIDGES and VALLEYS) RIDGES have lighter color and VALLEYS have darker color.
I want to achieve the same visualization in unity shader graph. Need help how can i achieve the same effect. Images are attached below.
Without Cavity effect: https://ibb.co/mDm1bqw
With Cavity effect: https://ibb.co/GdmyQpr
Ridges vs Valley: https://ibb.co/6bbwf4s
Thanks in advance.
Answer by Konradkunkel · Feb 04, 2021 at 05:12 PM
maybe use vertex shader https://docs.unity3d.com/Manual/SL-VertexProgramInputs.html
Answer by Geri860 · Mar 16, 2021 at 07:49 PM
Hi there, @QuickQuad
Did you managed to make up something?
Your answer
Follow this Question
Related Questions
Low Poly Water with Proper Buoyancy 2 Answers
Wireframe rendering in Unity, with vertex coloring file ? 0 Answers
smooth shader help mixamo 2 Answers
How to assign a texture around the edges of an object (as in the actual edges, not an outline) = 0 Answers
How can i get the y world position of a vertex at a given x and z position from a shader graph? 1 Answer