Refactored PBR Terrain to use new for-loops. Fix #1785 (#1901)
Drastically reduced code by utilizing JME's new potential for define-compatible for-loops in shaders. Also cleaned up some other little things like indentations, comments, and code placement so that the code is much more organized and easier to understand.