added intance attrib to core.glsl