English 中文(简体)
WebGL and rectangular (power of two) texture
原标题:WebGL and rectangular (power of two) textures

http://www.khronos.org/webgl/wiki/WebGL_and_OpenGL_Differences#Non-Power_of_Two_Texture_Support”rel=“noreferer”>poor support for NPOT (non-power-of-second) textures 。 但是,在宽度和高度都是两个强权的情况下,对直径层案文有什么影响? 具体来说,我试图把直截了当的图形图形图象作为形成一些“倡议”要素的成文制计划的一部分。 管道需要512x64或其中约。

从绘画来看,这样做的成效如何? 如果框架是令人关切的问题,我是否能够更好地分配512x512个双层缓冲器,只给最顶64个粉碎机,使记忆加速?

最佳回答

从来没有限制过这种宽大的高度。

问题回答

更具体地说,2D文本无需改动;512x64的案文不仅允许,而且应当由司机高效执行;另一方面,需要用双管地图。

对于2D的案文,如果两种方式的包装都是CLAMP_TO_EDGE,而你的排雷过滤器不需要一张地图,你就可以使用国家航空航天局的案文。 国家航空航天局案文的效率可能因您的司机而有所不同。





相关问题
OpenGL ES iPhone - drawing anti aliased lines

Normally, you d use something like: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glEnable(GL_BLEND); glEnable(GL_LINE_SMOOTH); glLineWidth(2.0f); glVertexPointer(2, GL_FLOAT, 0, points); ...

iPhone: Quartz2d vs. OpenGL ES

OK, I m still brand new to iPhone development. I have a free game on the app store, Winner Pong, but it s just a Pong clone (who would ve guessed) that uses the standard UIImageViews for the sprites. ...

GLPaint with white background

I m trying draw on a white background by reverse engineering GLPaint. I ve gone through every combination of kSaturation, kLuminosity and glBlendFunc, AND just about every combination I can think of ...

OpenGL ES - how to keep some object at a fixed size?

I m working on a little game in OpenGL ES. In the background, there is a world/map. The map is just a large texture. Zoom/pinch/pan is used to move around. And I m using glOrthof (left, right, bottom,...

Any free polygon library for the iPhone?

I need a library that can manage polygon modeling and basic transformation like rotating and translating. I d rather not redevelop everything from scratch Thanks

热门标签