Is it possible to combine 2 opengl EXTERNAL_OES texture together?

不羁岁月 提交于 2019-12-25 09:24:15

问题


I am just wondering if it is possible to combine 2 GLES11Ext.GL_TEXTURE_EXTERNAL_OES texture and access them at the same time in the fragment shader?


回答1:


  1. Bind it as a GL_TEXTURE_EXTERNAL_OES texture
  2. Use uniform samplerExternalOES tex0 and tex1 instead of sampler2D


来源:https://stackoverflow.com/questions/41818314/is-it-possible-to-combine-2-opengl-external-oes-texture-together

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!