Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [opengl-es3]

The tag has no usage guidance.

0
votes
0answers
25 views

Problem with 2D game on android. Random FPS drop with OpenGLES 2.0, sudden white screen with Vulkan

I'm having a problem with my 2D game on Android. When I use OpenGLES 2.0 as the graphics API, I experience sudden FPS drops in the game. The game starts to slow down sometimes randomly, And it can ...
0
votes
1answer
19 views

Replacement for glDrawElementsBaseVertex in OpenGL ES?

I am porting my game engine(c++) to Emscripten, which unfortunately only supports OpenGL ES 3.(Not 3.2) Therefore I don't have access to glDrawElementsBaseVertex, which is needed by my renderer(...
-1
votes
0answers
21 views

Migrating from Opengles2 to 3

I'm using Ogre 1.9 and I've ported to use OpenGLES3, I'm acquiring pictures from ARKit which has two planes YUV one for luminance and one for chrome. The luminance is just working with no color image. ...
0
votes
0answers
16 views

OpenGL ES 3.0 - Uniform Buffer Object non-static indexing

I've encountered a very strange issue while testing UBO on Android device: if I try to index UBO array with non-constant index, the program fails to link with log: ...
1
vote
1answer
120 views

Correct normal map for rotated sprites

I am trying to find the best way to correctly do normal mapping in a 2D batched sprite renderer. For each sprite sheet (aka texture atlas) I render all sprites as a textured quads with a single <...
0
votes
1answer
151 views

GLfloat vs GLfixed vs GLint performance in 2017

Some people claim that floats should be used for rendering vertices in modern graphics cards, because graphics cards are optimized for floating-point arithmetic and therefore, integer calculations are ...
1
vote
1answer
185 views

How to implement glDrawElementsBaseVertex in OpenGL ES 3.0

I want to convert simple OpenGL project to Android native using OpenGL ES3.0, one of the functions which is not implemented is glDrawElementsBaseVertex, I have one ...
1
vote
1answer
187 views

Many OpenGL declarations are not occured in GLESv3 gl3.h

I created a small OpenGL renderer in C++ and I want to move to Android so I prepared eclipse with all suitable platforms and create a Native Activity project then add the NDK to the includes and ...
1
vote
2answers
562 views

Why is there no glClear() and glClearColor() method in GL30?

In the GL30 interface, both the methods glClear() and glClearColor() are absent. I tried to ...
4
votes
1answer
149 views

OpenGL ES Frame Skipping causing visible artifacts

I'm using OpenGL ES 3.0 on Android 5.1, and am noticing the following issues. I tried to implement the game loop which does exactly 60 updates and do as many frames as it can. Everything is smooth, ...
4
votes
1answer
146 views

Camera view/projection issue

I made a simple OpenGL program but I can figure out why the camera is not working, here it's a little fragment of the Camera class: ...
1
vote
1answer
187 views

GLES multiple output buffers

I'd like to write multiple values (not just the color and depth value) in one pass to avoid redundancy in vertex shader. Therefore, i attach multiple (let's say two) color buffers (e.g. textures) to a ...
2
votes
2answers
4k views

How to compile with OpenGL ES on Windows?

I downloaded OpenGL ES 3.1 sdk here. But when I tried to run (or compile and run) the executable in "samples" directory, I got the following message: The program can't start because libGLESv2.dll ...
2
votes
1answer
146 views

Working around the current sad state of mobile GPU drivers

I'm working on a OpenGL ES3 app for Android: for various reasons, I decided to roll my own mini-OpenGL rendering engine. So far so good. Problem is, the GPU drivers in the mobile industry are such ...
1
vote
1answer
248 views

render with const depth value

This is a question that may have an answer that differs for vanilla desktop GL and GL ES 2.0 (and wishful thinking is that ES 3.0 would have the same answer as vanilla GL). What I'm doing is ...