rendering texture in triangle