@Override
    public void render(){

        BasicShader.getInstance().bind();
        BasicShader.getInstance().updateUniforms(transform, material, new Vector4f(0,0,0,0));
        if (mapMesh == null)
            recreateMesh();

        mapMesh.draw();

    }