Questions tagged [opengl-es-3.0]

Subset of the OpenGL 3D graphics API designed for embedded devices such as mobile phones. The version 3 was publicly released in August 2012. OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally add new visual features to applications.

Subset of the OpenGL 3D graphics API (especially, subset of OpenGL 3 Core Profile) designed for embedded devices such as mobile phones. The version 3 was publicly released in August 2012. OpenGL ES 3.0 is backwards compatible with OpenGL ES 2.0, enabling applications to incrementally incorporate new visual features.

Resources:

264 questions
0
votes
0 answers

OpenGL ES 3.0 Occlusion Query: glGenQueries always fails with INVALID_OPERATION

I'm attempting per pixel collision detection for 2D sprites drawn as textured quads on a Samsung Galaxy S6 Edge+. Using C# and OpenTK. glGenQueries always returns no query names (array 'queries' is unchanged) and the test to see if a query was made…
0
votes
1 answer

getGlEsVersion() is returning 3.0 on my nexus 5 with android version 6.0.1

I am using this code to get OpenGL ES version on my phone. int result; ActivityManager activityManager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); ConfigurationInfo configInfo = activityManager …
Bunny
  • 576
  • 4
  • 19
0
votes
0 answers

GLES 3.0 emulator instanced rendering

I want to get benefits of instanced rendering. But I have no success when I use GLES 3.x PowerVR emulator from PowerVR SDK v. 4.0. I need to draw unit quad in random positions. Positions are passed to shader as attributes – 1 position per instance…
Sergei Ivanov
  • 103
  • 1
  • 9
0
votes
0 answers

openGL render different on iPhone and iPad

I created an iOS app using OpenGL to render yuv420p from ffmpeg. It works fine on iPad, but on iPhone, it looks like the image below, the picture looks italic and the right bottom triangle part like below should be on the left. I can not found…
spanfish
  • 191
  • 2
  • 5
0
votes
1 answer

why glReadPixel GL_RGB from PBO got error 0x502 INVALD OPTION

I saw format specifies the format of the returned pixel values; accepted values are: GL_ALPHA GL_RGB GL_RGBA RGBA color components are read from the color buffer. Each color component is converted to floating point such that zero intensity…
flyuuo
  • 3
  • 5
0
votes
1 answer

Why doesn't this OpenGL ES array instancing example work?

I'm trying to follow the suggestion in Apple's OpenGL ES Programming Guide section on instanced drawing: Use Instanced Drawing to Minimize Draw Calls. I have started with the example project that XCode generates for a Game app with OpenGL and Swift…
Pat Niemeyer
  • 5,930
  • 1
  • 31
  • 35
0
votes
1 answer

Run vertex shader for every fragment for transformfeedback

If I understand this correctly the vertex shader only runs as many times as there are vertex attributes. And then the fragment shader fills in the texture running once per fragment. I.e. If I have four vertices to draw a texture image, the vertex…
HPP
  • 1,074
  • 1
  • 13
  • 28
0
votes
1 answer

OpenGL ES 3.0 with CMake Error

In order to open the examples provided from the textbook, I downloaded the examples from the book's website at opengl-book.com. The instructions say: Point CMake to the folder and VS 2013 is suppose to take it from there. However, I get and error…
0
votes
1 answer

How can I get float values using glReadPixels? [Android NDK es3.0]

c++ code: float* data = (float*)malloc(texWidth*texHeight*sizeof(float)); // or GLfloat float* result = (float*)malloc(texWidth*texHeight*sizeof(float)); // or GLfloat for (int i = 0; i < texWidth * texHeight; i++) { data[i] =…
KiBa1215
  • 87
  • 6
0
votes
1 answer

OpenGl ES 3.0 Context not created on iPad (works in Simulator)

I'm working on a cross platform renderer for PC (Windows, Linux, Mac) and iOS. The iOS part is currently built around OpenGL ES 2.0 and I wanted to upgrade to ES 3.0. So I replaced the following line (that works) context = [[EAGLContext alloc]…
Ben
  • 109
  • 1
  • 11
0
votes
1 answer

Mulitple Fragment Outputs in GLSL 300 es

While writing unit tests for a simple NDK Opengl ES 3.0 demo, I encountered an issue in using multiple render targets. Consider this simple Fragment shader with two outputs, declared in a C++11 string literal. const static std::string…
0
votes
1 answer

Android opengl es 3 tutorial?

I'm trying to learn opengl for the first time. While implementing I see that I was trying to implement es 1 code on es 2 enviroment. After little search I found out that there is a new es virsion, es 3. No tutorial for es 3 on google. What should I…
Stav Alfi
  • 13,139
  • 23
  • 99
  • 171
0
votes
1 answer

Difference between OpenGL ES3 and ES2 shader variables

For OpenGL ES 3.0, I am wondering if we still use attribute/varying etc for variables. or we need to switch to in/out variables?
Adam Lee
  • 24,710
  • 51
  • 156
  • 236
0
votes
1 answer

What coordinate system does a depth texture use?

I have a depth texture and I would like to know in which coordinate system are the values stored inside the depth texture. Homogeneous coordinates, camera coordinates, world coordinates or model coordinates? I also would like to know what values are…
0
votes
0 answers

GL_OES_texture_float not supported on OpenGL ES 3.0 device in a 2.0 context?

I've got a OpenGL ES 2.0 app that depends on the GL_OES_texture_float extension. Pretty much every device in the past 3 years has it, so that's not a problem. However, using the Galaxy S5 with an Adreno 330 GPU, I've got a problem. The Adreno 330…
Adam
  • 25,966
  • 23
  • 76
  • 87
1 2 3
17
18