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

How to create sphere without indices?

I want to create a sphere with only normals, vertices, texture coords and without using indices. But on the Internet there are options only creation with indices. I just create a lib that helps to create 3d objects, and i don't use indices in this…
DragonDev
  • 3
  • 4
0
votes
1 answer

Is it faster to use multiple shader programs or a single program with uniform uploads in OpenGL ES 3.0?

I have a setup where I use the same shader source for multiple objects rendered via VBOs and indices through glDrawElements(). I was wondering whether it's faster to create multiple GL shader programs and switch between them or use a single program…
bblizzard
  • 618
  • 5
  • 7
0
votes
0 answers

Want to store info in the alpha channel but NOT have it blend the pixel

This is regarding an SSAO buffer. I'm storing the normals in RGB. If I don't put 1.0 in A, it will blend the normals with what's already there as a normal alpha blend operation. I want to store some additional info in the alpha buffer, and NEVER…
KiraHoneybee
  • 495
  • 3
  • 12
0
votes
0 answers

How to draw a point in OpenGL ES3

How do I draw a point in OpenGL ES3? I'm using the GL_POINTS Primitive. Vertex Data // Position Color {{1.0f, 1.0f, 0.0f}, {1.0f, 0.0f, 0.0f, 1.0f}} In the Vertex Shader gl_PointSize = 10.0; This should render a Red Point on the Screen.…
Techie-Guy
  • 131
  • 8
0
votes
1 answer

Draw nothing for an OpenGL ES 3 + SDL2 + ANGLE + MSVC

I've got a problem following a tutorial aiming to teach how to use OpenGL ES 3.x on desktop environment primarily on Windows. As stated in the title of my question I'm coding using MSVC, SDL2 and I link my program against ANGLE's libraries to…
Troctsch
  • 21
  • 5
0
votes
0 answers

Problem drawing a circle based on GL_Points using Open GL ES 3.0

Based on the accepted answer for the question Is there a way to draw a circle with the fragment shader at the position of a point from the vertex shader?, I am having the following results when I try to draw 3 circles based on the points (0.0,…
0
votes
0 answers

How to destroy the OpenGL context clearly

I am developing the android app with NDK and using OpenGL. But I have a problem. Normally, The OpenGL context is created and destroyed many times during the app running. after a while, OpenGL is giving that error message. W/Adreno-GSL:…
0
votes
0 answers

How to create texture with 16bit depth one component in OpenGL ES3.0 on Android?

I'm working on displaying yuv pictures with OpenGL ES3.0 on Android. I convert yuv pixels to rgb in a fragment shader. At first, I need to pass yuv pixel data to OpenGL as a texture. When the yuv data is 8 bit-depth, I program like below and it…
zuguorui
  • 15
  • 4
0
votes
0 answers

Using SVG in opengl es 3.0 in native c++ android

How to read svg and their path in c++? is there are any library for that like iOS pods - pocketSVG? SVG svg = SVGParser.getSVGFromAsset(getAssets(), fileName); In java, using svg-android library(found here) to read SVG. But to get Path from SVG…
Dines
  • 1
  • 3
0
votes
0 answers

Translate an object in OpenGL with velocity curve

I'm working on a touch drag feature in OpenGL. Though I got it working, it has a significant jitter while moving. To compensate for the jitter, I tried using smoothdamp to smoothen out the motion of the object Which although did help with the…
KayMK11
  • 107
  • 8
0
votes
1 answer

Is it possible to use a vertex shader as a compute shader?

I would like to use a compute shader before my vertex shader stage, but I'm using OpenGL es 3.0, and compute shaders are only available in 3.1. My idea would be to use a vertex shader as a compute shader by feeding varyings as data. I know that I…
user14587078
0
votes
1 answer

Passing a GLTexture as an input to texImage2D in OpenGL ES 2.0

I am trying to build a texture packer, where multiple (possibly NPOT) textures can be packed into one mega Power-Of-Two Texture for better performance and better min / mag filtering. Is it possible to pass a GLTexture to a tex(Sub)Image2D call in…
Georgi B. Nikolov
  • 976
  • 2
  • 13
  • 24
0
votes
1 answer

OpenGLES 3.0 Cannot render to a texture larger than the screen size

I have made an image below to indicate my problem. I render my scene to an offscreen framebuffer with a texture the size of the screen. I then render said texture to a screen-filling quad. This produces the case 1 on the image. I then run the exact…
0
votes
0 answers

Android OpenGl ES 3.0 update VBO data on button click?

Is there any way to draw mesh dynamically. like on press of a button send new float array to openGL ES 30 VBO. currently i draw both rectangle and triangle STATIC in Native C++ they are visible, But when i pass triangle array from java using JNI. I…
Kouki
  • 37
  • 7
0
votes
0 answers

How to do anti-aliasing in OpenGL ES 3.0

I'd like to implement anti-aliasing in my android OpenGL ES app, but all the examples I found were super old and not helping at all or were using OpenGL on PCs. Could someone give a code example to implement more modern techniques of AA?
user14587078