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.
目前,我使用 glDrawArrays 在简单的四边形中渲染纹理。我希望通过使用 glDrawTexfOES 来增加帧速率(我所有的精灵都有相同的 z 位置)。在做这项工作之前,我想知道这些纹理是否仍会受到我的 3d 灯光的影响。
标准 OpenGL ES 光照发生在顶点级别,glDrawTexfOES 完全绕过顶点管道。所以不,glDrawTexf 矩形上不会发生光照。