Added a more flexible way of getting repeater and comparator textures