Shader preperations for greedy meshing algorithm