greggman's suggestions of replacing color attributes with color uniform.