Infinite Procedural Terrain Engine

Thank you greatly for all of your suggestions Craig. I just chopped off the semantics for the world position and left it for the brightness and slope. Its ugly code, but it will do for now because the results are anything but ugly. :smiley:

Also my shader can blend together an unlimited number of textures at the same vertex now. I fear I wouldn’t figure out how to achieve the same effect using lerps.