Calculate mesh curvature

Node-based Shader Editor

Calculate mesh curvature

Postby mossman » Sun Jan 20, 2019 8:59 pm

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.11 KiB) Downloaded 114 times
mossman
 
Posts: 40
Joined: Sun Dec 10, 2017 3:58 pm

Re: Calculate mesh curvature

Postby mehran » Mon Jan 21, 2019 7:07 am

really interested in this.
mehran
 
Posts: 6
Joined: Wed Oct 17, 2018 11:02 am

Re: Calculate mesh curvature

Postby Amplify_Borba » Thu Jan 24, 2019 4:42 pm

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 0 guests