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: Trouble using 2D Texture with height of 1

I'm looking up a 1 dimensional texture containing RGB values in a fragment shader. As the implementation should be OpenGL ES 3.0 compatible I cannot use a true 1D texture but try using a 2D texture with a height of 1. This is how I implemented…
PluginPenguin
  • 1,576
  • 11
  • 25
0
votes
1 answer

OpenGL glBufferSubData - can't get it to work

I need to update my mesh with new vertices. I create the VBO as such (initially it gets created with only one vertex in it): public Mesh(float[] vertex, int size) { texture = null; meshType = 1; //will draw lines FloatBuffer…
Vlad Vyatkin
  • 544
  • 5
  • 16
0
votes
2 answers

Minmizing OpenGL app while preserving EGL Context results in HUGE PROBLEM

I'm using opengl es 3.0 API with the android studio ndk to create apps. But I've encountered a very huge problem. I've created a demo app, all it does it change the background color of the screen from white to black and vice versa, every frame. And…
cyb3rcolby
  • 53
  • 7
0
votes
0 answers

Replacing stencil based layered rendering scheme

I have to optimize a stencil-based layer rendering system because it produces too many drawcalls (hundreds). The scenario is as this: Several dozens geometry batches are drawn. Each batch has its own drawcall. Each batch has multiple layers (about…
Desperado17
  • 835
  • 6
  • 12
0
votes
0 answers

Why is glTexImage2D returning GL_INVALID_OPERATION on iOS?

I'm making the following call on iOS using OpenGL ES 3: glTexImage2D(GL_TEXTURE_2D, // target 0, // level GL_RGBA, // internalformat 1024, // width …
me--
  • 1,978
  • 1
  • 22
  • 42
0
votes
1 answer

Using double FBO switching between vs Multiple FBO

I'm implementing camera filter application using GLES like GPUImage on mobile devices. In order to create final filtered image, need to render sub-filters on the previously filtered image. My approach is to create multiple FBOs for each filter…
kju
  • 123
  • 9
0
votes
1 answer

How to use blending with transparent textures and transparent color?

I'm using OpenGL ES 3. I want to draw transparent images. Some pixels of the image may have transparency from 0% to 100%. I also want to be able to set an argb value to change the whole image's color and transparency. I have ended up with the…
Snaketec
  • 471
  • 2
  • 14
0
votes
1 answer

Cascaded shadow map unexpected behavior

I'm implementing the Cascaded Shadow Map technique, I get unexpected result First I initialize the buffer and the textures: glGenFramebuffers(1, &m_fbo); glBindFramebuffer(GL_FRAMEBUFFER, m_fbo); glGenTextures(NUM_CASCADES, m_shadowMap); for (uint…
Mohamed Moussa
  • 103
  • 1
  • 13
0
votes
1 answer

glBufferSubData is very slow on many android device

I have requested about 2M gl buffers for share, and update the data for vertex and index with glBufferSubData, it works fine on my iOS devices. while, when I test it on my android devices, it very very slow. I have found some notes from the official…
realxie
  • 109
  • 3
0
votes
1 answer

OpenGL 3.0 ES - Disjoint read and write from same texture

I'm in a situation where I have a (n+1)x(n+1) texture attached to a framebuffer. My idea is to update this texture in 2 passes. Draw a full screen quad and use the scissor test to mask out the outermost 1 pixels, so I write to the n x n 'inner' of…
user3042966
  • 55
  • 1
  • 6
0
votes
1 answer

Issues with HALF_FLOAT on Mali GPUs

I have reports from my users about issues with rendering of half-floats data on certain devices with Mali GPUs (Huawei Honor 9 and Samsung Galaxy S10+ w/ Mali G71 and G76 respectively). It results in garbled rendering on these devices while works…
keaukraine
  • 5,315
  • 29
  • 54
0
votes
0 answers

OpenGL ES Android Strange Projection

I write an application in Android and use OpenGL ES. In my test scene I have a cube and a sphere. The sphere is able to move. If the Spehre is in the center from the display the sphere renders fine See here. But if I move the sphere to a edge from…
Meeresgott
  • 431
  • 3
  • 17
0
votes
0 answers

why in Android Studio Android NDK error: cannot find -lGLESv3? Please Advise

I am trying to tweak the tutorial, Android NDK Endless-Tunnel in Android Studio. https://github.com/googlesamples/android-ndk/tree/master/endless-tunnel/app/src/main/cpp It worked great until i needed to use 'glBindVertexArray'/'glGenVertexArrays'…
Sadern Alwis
  • 104
  • 1
  • 4
  • 17
0
votes
1 answer

Trying to render a square with vaos and vbos

i am trying to learn how to use vaos and vbos. Right now i am trying to render a square but nothing is rendering on the screen. I am using android studios and OpenGL ES 3. This is my MainActivity: package…
Ooshiny
  • 13
  • 2
0
votes
1 answer

OpenGL ES - Framebuffer not drawing anything after opening Overview and going back

Every time I'm exiting the app, and then go back to it, the Framebuffer is not drawing anything, the screen is just black. I was using a debugger to check if the Framebuffer object didn't miss anything and everything seemed to be fine, except this…
user8372965