20863

Is it possible to combine 2 opengl EXTERNAL_OES texture together?

Question:

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?

Answer1:

<ol><li>Bind it as a GL_TEXTURE_EXTERNAL_OES texture</li> <li>Use uniform <strong>samplerExternalOES</strong> tex0 and tex1 instead of <strong>sampler2D</strong></li> </ol>

Recommend

  • Unresolved external symbol (OpenGL and c++)
  • Using a ListFragment with a SimpleCursorAdapter with the Holder Pattern
  • Navigation drawer is always inflated
  • Android multuple camera preview
  • How can I detect errors in an HTML document fragment with Ruby?
  • libgdx clickable image not working
  • Running a Service from ASyncTask or Thread?
  • Inno Setup Search for specifc file on a CD, retrieve exact filepath and return value to [Files]-Sect
  • How to use HTTP Authentication with PHP and then run the entered data against a database?
  • Publishing HTML Field Control Converts Relative URL to Absolute URL
  • Back press fragments issue in android
  • Number of nodes returned in MutationRecord.addedNodes nodelist (mutationObserver)
  • LibGdx GLES2.0 cube texel stretching
  • Recommended way to remove events on destroy with jQuery UI Widget Factory
  • Differences between drawing an Ellipse in Android and Java
  • How to implement simple validation in Scala
  • Best way to produce 'colour correct' raster from a PDF or PS with ghostscript
  • In java, how do you retrieve images from a jar file?
  • Mongodb update() vs. findAndModify() performace
  • GitHub default README markup
  • Using HTML/CSS for UI in XNA?
  • Vigenere cipher not working
  • What is this strange character in chrome's resource css viewer?
  • How to repeat sections of a SQL query across UNIONs? (DRY in SQL)
  • Counting problem C#
  • KnockoutObservableArray with typed elements in TypeScript
  • R Split data.frame using a column that represents and on/off switch
  • Combining SpatialPolygonsDataFrame of two neighbour countries
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Weird JavaScript statement, what does it mean?
  • Apache 2.4 - remove | delete | uninstall
  • Python: how to group similar lists together in a list of lists?
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Benchmarking RAM performance - UWP and C#
  • Understanding cpu registers
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How can I remove ASP.NET Designer.cs files?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]