finished shader system, bug: when trying to fetch attribute indexes -1 is returned