non-power-of-two (NPOT) textures

来源:互联网 发布:拼多多提现网络繁忙 编辑:程序博客网 时间:2024/06/15 19:52
Use non-power-of-two (NPOT) textures when appropriate
    No performance penalty
    Saves memory
 
  无二次幂限制的纹理(Non-Power-of-Two Textures)
  OpenGL仅支持分辨率为2mx2n的纹理。但现在我们可以使用“无二次幂限制”的纹理。
  OpenGL only supports textures with 2m x 2n resolution.But "Non-Power-of-Two" textures can be useful.
  
  与之匹配的屏幕分辨率或包围区域不一定等于二次幂(800x600)
  Matching some screen resolution or bounding region that is not necessarily a power of two (800x600)
  消除限制的w/WGL_NV_render_texture_rectangle扩展指令:
  Restriction lifted w/ WGL_NV_render_texture_rectangle extension:
  
  无二次幂限制的纹理仅有少许差异
  Non-power-of-two textures BUT some differences
  
  纹理坐标贴图的差异
  Texture coordinates map differently