how to calculate thickness of a mesh and use it as a color of a shader in shader graph?
I'm trying to achieve a shader that represent the thickness of the mesh (black smallest thickness white maximum thickness). I need that to simulate a realistic nightvision effect, so I need that thickness color to determinate the hottest parts of a human body.
I need that in shader graph because I know nothing about scripting.
Any suggestion is appreciated.
Comment
Your answer
