Added texture parsing