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.
有什么方法可以让PVRTC 纹理在 iPhone 模拟器上工作?
根据这个论坛帖子:是的,模拟器支持 PVRTC 格式的压缩纹理。
我发现了一个问题,为什么 PVR 纹理在模拟器和 iphone 上都不起作用。在绘制之前需要设置参数 GL_TEXTURE_MIN_FILTER。例如, glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);