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
Calculate mesh curvature
Calculate mesh curvature
- Attachments
-
- attatch.zip
- (16.04 KiB) Downloaded 244 times
Re: Calculate mesh curvature
really interested in this.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Calculate mesh curvature
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.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!