@ford88998 wrote:
Hi all
In Opengl ES 2.0 specification, the texture coordinate's bottom left is (0,0), top left is (0, 1).
but in cocos2d-x 3.x, the texture coordinate of ccsprite are different with Opengl. in 2dx, bottom left is (0,1) ,top left is (0, 0).
Please tell why 2dx need to invert the texture coordinate. Thanks very much.
please check the function setTextureCoords() of ccsprite
Posts: 1
Participants: 1