implement render with 2 tex coords