开发者

OpenGL ES set Texture matrix for different Texturing units

with

glMatrixMode(GL_TEXTURE);
..some matrix operations...

i can change the current texture transformation matrix. However -开发者_JS百科 it seems it affects not all texture units (i'm using multitexturing)

how can i change the texture matrix for different texture units?

thanks!


Try using glActiveTexture to select the appropriate texture matrix stack. This works for OpenGL, and I assume that it should also work for OpenGL ES.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜