Finally decided to sit down and experiment with what Shaders can be done in Armory. To start off with I decided to work on this terrain material.
Fairly simple setup. I’ve basically just taken the height from a given vertex and used that to drive a colour ramp. To get the hard gradient I set the colour ramp to constant.
I also attempted to fake sun light using an empty. Using drivers I was able to set the X,Y,Z values from the empty, to then get a dot product from the geometry normals. However, it seems that drivers do not update while running. Hence it would be nice to be able to get lamp data, and just get the sun’s vector.
Also still work in progress is the water. What I would like to be able to do is recreate a foam line where land meets the edge. Usually this can be achieved using scene depth. However, I am unsure on how to access scene depth in Armory.