rudimentary texture mapping