triangle now working only with texture