开发者

OpenGL ES set Texture matrix for different Texturing units

开发者 https://www.devze.com 2022-12-18 16:38 出处:网络
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 multi

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

精彩评论

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

关注公众号