Download

How can i get a VertexNormal after WorldPositionOffset(eg.sine wave)?

Since the two sides of the wave have a same offset in Zaxis,I don’t know how to do the math to get the VertexNormal after vertexshader.Anybody knows that?

forgot to post that get there in one axis.two should be the same.