Amplifying your potential.
Page 1 of 1

Vertex Normal Reconstruction?

PostPosted: Thu Nov 23, 2017 7:05 pm
by DuvE
Just read about this new sample, but I can't find it in ASE. Can you guide me a little? :D
And how exactly I can use it to reconstruct normals after using vertex offset?

Re: Vertex Normal Reconstruction?

PostPosted: Fri Nov 24, 2017 11:29 am
by Amplify_Borba

The sample is located in the following path: Assets/AmplifyShaderEditor/Examples/Official/VertexNormalReconstruction

We provide a few properties to control the effect, such as the amplitude, frequency and normal position deviation for tweaking the effect.

The shader function that we've built for this sample is responsible for generating the waving effect in the local X direction, and the reconstruction of normals is achieved through calculating a new normal by derivation and passing it to the Local Vertex Normal input in the main node.

Feel free to examine this sample and don't hesitate on getting back to us with any questions you might have!