ios - Texture Atlas - Matrices or Coordinates? -
ios - Texture Atlas - Matrices or Coordinates? -
when using texture atlases (i'm using opengl es 1.1 , 2.0 on ios), has improve performance: using matrices right piece of atlas each object, or using texture coordinates?
i'd 'using texture coordinates' should faster in average case : in case, can have chance have less draw calls. in best case, can submit objects in single draw call.
for texture matrices, in average, have alter between each object, have submit 1 object per draw call.
of course, usual in graphics, mileage may vary depending on specific context, , may find specific optimization opportunities in case. if performance gain of import application, should seek both , profile performance.
ios performance opengl-es textures texture-mapping
Comments
Post a Comment