I'm having problem setting up my UV coordinates with my trianglestrip.
here is an image:
(pretty )
This image is created by 3 cubes (6 triangles)
I want the middle texture to not be flipped.
I can't seem to get it right, any value i try.
(the positions go from bottom up, then jump to right)
here is how i construct the mesh:
j0nte33 wrote:I'm having problem setting up my UV coordinates with my trianglestrip.
here is an image:
(pretty )
This image is created by 3 cubes (6 triangles)
I want the middle texture to not be flipped.
I can't seem to get it right, any value i try.
(the positions go from bottom up, then jump to right)
here is how i construct the mesh:
ah that makes sense!
The reason I'm using more than four vertices is because i want to generate a mesh based of a spline.
I didn't realize i could have the UV coordinates outside the range of 0-1.
j0nte33 wrote:I didn't realize i could have the UV coordinates outside the range of 0-1.
You can, but the behaviour will depend on the [wiki]WrapMode[/wiki] chosen.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.