English 中文(简体)
在2号公证中,有办法防止不同政体的污染。
原标题:In opengl es 2, is there a way to prevent interpolation of varyings
  • 时间:2010-08-04 20:23:10
  •  标签:
  • opengl-es

换言之,仿照旧的开放式平坦had模式,因此,例如,在每一部分都有明显肤色而不是横跨部分的色谱的情况下,你可以有一个直线地带?

问题回答

不是直接的。 GLSL用于桌面的固定关键词,但GLSLES没有(保留)。 引证这种行为的骗局是,在三角地(或分段)中,在每一垂直点上分配同样的颜色,因此,干涉具有同样的价值。





相关问题
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

热门标签