chronolegend
chronolegend

Reputation: 484

Is it possible to combine 2 opengl EXTERNAL_OES texture together?

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?

Upvotes: 1

Views: 561

Answers (1)

Sung
Sung

Reputation: 1066

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

Upvotes: 2

Related Questions