Finally got normals working for the height map. Brad helped me a ton with the math, thanks brad :). After making sure I had the right points its was pretty simple. Here is an example to calculate normals for a grid in OpenFrameworks. Obviously this can be applied to any other language. The image above …