before adding texture mapping