add material definition for using texture2DArray. rewrite the material definitions and change blockskin so it just maps to offsets, this also will make it easier to atlas the textures if preferable by offset.

Greedy mesher now renders partially correct textures.