Calculate mesh curvature

Node-based Shader Editor
Post Reply
mossman
Posts: 40
Joined: Sun Dec 10, 2017 3:58 pm

Calculate mesh curvature

Post by mossman »

Hello,

I am trying to calculate the curvature of a mesh in real time with a shader that I made with Amplify Shader Editor.
I made different approaches (I attached a shader) but the result is not the desired result (I attached a example).

How I get the mesh curvature data using Amplify Shader Editor?

Thanks
Attachments
attatch.zip
(16.04 KiB) Downloaded 245 times
mehran
Posts: 6
Joined: Wed Oct 17, 2018 11:02 am

Re: Calculate mesh curvature

Post by mehran »

really interested in this.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Calculate mesh curvature

Post by Amplify_Borba »

Hello, there seem to be several techniques for achieving this, and we do have a sample included for a screenspace solution that you can find in the AmplifyShaderEditor \ Examples \ Official \ ScreenSpaceCurvature folder.

Unfortunately, the source for the image you've shared doesn't seem to provide any code to inspect as its files are compiled, so I can't offer any insight on how he achieved that specific effect. I would try and contact the author directly in this regard, perhaps he would be inclined to share further information on how he achieved that final result.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply