added texture mapping.