Added texture offset and texture repeat