Added instance attribute to shaderlocations