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.
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.