Hi guys!
I draw 2 triangle(call 2 DrawIndexedPrimitives) and 2 pass shader.
And i have:
And I need:
How do the right?
Use 1 DrawIndexedPrimitives is not suitable.
Thanks!
Hi guys!
I draw 2 triangle(call 2 DrawIndexedPrimitives) and 2 pass shader.
And i have:
And I need:
How do the right?
Use 1 DrawIndexedPrimitives is not suitable.
Thanks!
The two matching corners need their vertices positions to match as well. You should get the desired result if you move the single fruit vertex to be on top of the multi-fruit vertex at the bottom, and then you need to move the multi-fruit vertex to be on top of the single fruit vertex at the top. The stretching of the image will occur naturally at that point.