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.
OpenGL 中的普通纹理大小应该是 2 的幂。好吧。但是如何使用平铺纹理。
我们需要将 2 的幂应用于整个纹理还是此图像内的单个图块?
简短而直接的答案:不,如果您使用 opengl >= 2.0,引擎平铺纹理不需要是 2 的幂。