Added texture mapping for surfaces with defined tex coordinates