Hello,
i would like to know if it is possible that my picture is put in one piece on the pentagon and not in 5 pieces as is now.
Would be nice if someone could help me.
Here is my code:

Adjust the texture coordinates so they map the texture only once onto the polygon.

For example, the vertex with largest X-coordinate get S-coordinate (the texture’s X-axis) 1, and the vertex with smallest X-coordinate get S-coordinate 0. Same for the Y- and T-axis.

4 is the largest value along the X-axis, and has the texture coordinate 1. 1 is the smallest, and get the texture coordinate 0. 2 is 1/3 between 1 and 4, and therefore get the texture coordinate 0.33. And so on…