Quantcast
Channel: cocos2d-x - Cocos Forums
Viewing all articles
Browse latest Browse all 2748

How to use V2F_C4F_T2F in a Sprite?

$
0
0

@MatX wrote:

How can I use V2F_C4F_T2F in a Sprite so that I can specify the position, the color and the texture coordinates within a texture bound to a Sprite at the same time? Sort of like here:

But I want to be able to manipulate even the texture coordinates. Triangles made up of V2F_C4F_T2F objects seem to be a perfect fit for this - only I don’t know how to achieve this…

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 2748

Trending Articles