a helper to make ThreeJS shader materials from glslify