extract uniforms from shader declaration, completed MeshMaterial