Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
glDrawTexfOES 无法旋转,顶点缓冲区对象已设置 uv 坐标,由于 GLES 1 中的非可编程着色器,我无法更改,我如何在 GLES 1 中使用 spritesheets 制作动画可旋转精灵
谢谢
您可以使用纹理矩阵更改 uv 坐标。
但是要旋转精灵 - 将它们绘制为四边形(使用两个三角形)并将旋转矩阵应用于顶点位置。