Skip to main content

All Questions

1 vote
1 answer
109 views

I'm having issues with rendering depth

I'm using GLES2 to make graphics, because I intend to make a mobile application, so it has different things from classic opengl, in the part of creating a framebuffer, I looked for how to do it, and I ...
José Antônio's user avatar
2 votes
1 answer
1k views

How to overcome differences between off-screen and on-screen framebuffer rendering?

I'm trying to use an off-screen framebuffer to replicate a scene that renders wonderfully to the default framebuffer. There seem to be differences in the rendering that I can't sort out. For context,...
Danny's user avatar
  • 435
2 votes
1 answer
423 views

Opengl ES 2.0 glDeleteFramebuffers after drawing to texture

I render to texture using frame buffer. But I am not sure when should I correctly use glDeleteFramebuffers. Should fbo exist while texture exists, or can I safely call glDeleteFramebuffers after last ...
user1063364's user avatar
3 votes
1 answer
2k views

Saving a glTexImage2D to the file system for inspection

I have a 3D graphics application that is exhibiting bad texturing behavior (specifically: a specific texture is showing up as black when it shouldn't be). I have isolated the texture data in the ...
George's user avatar
  • 7,227
7 votes
1 answer
633 views

Drawing to a FrameBuffer causes Y to be inverted

I want to use a framebuffer to create an image using a shader program. This works well, except that the Y is inverted. It seems that the bottom left corner becomes the top left corner. Why does this ...
Alexanus's user avatar
  • 689
4 votes
0 answers
801 views

Render to multiple frame buffer in single pass

Is it possible to render to multiple frame buffers in single pass using OpenGL ES 2.0? Assume that I have a character and I need to make some image processing on this character before rendering final ...
JeJoRic's user avatar
  • 95
4 votes
1 answer
2k views

Open GL ES 2 - glFramebufferTexture2D with Incomplete Missing Attachment error

I'm new to OpenGL/GLES, I got Incomplete Missing Attachment error when generate framebuffer from EGLImageKHR with below code: GLuint texture; GLuint framebuffer; EGLImageKHR image = ...
KennyTan's user avatar
0 votes
1 answer
2k views

OpenGL ES 2.0 render to framebuffer/texture results in black texture

I'm using libgdx but this is pretty much vanilla opengl es 2.0 stuff. Just try and ignore the Gdx.gl prefix everywhere ^^ I'm testing it on my desktop as well as android device and it's the same story ...
jimjamjahaa's user avatar
0 votes
1 answer
131 views

OpenGL-ES2.0 FrameBuffer content lifetime

For a small 2D mobile game, I'm planning on make the main character texture be decided by player (combine outfit, color, hair,..). First I though in use multiple textures (each with some outfits, ...
gaixas1's user avatar
  • 38
1 vote
0 answers
718 views

android openGL ES 2.0 use Frame buffer to render texture twice,but the result is black screen

I wanted to use openGL to blur a picture.First I created a frame buffer and a texture.And then use glFramebufferTexture2D.the first drawElement is to blur the vertical orientation. the code is : ...
shaotine's user avatar
  • 249
0 votes
1 answer
261 views

OpenGL ES 2 Console Framebuffer Cursor

I'm creating a very simple OpenGL ES 2.0 demo that runs on a Yocto Linux distribution on an iMX6 core. I'm writing the image direct to the console frame buffer, as opposed to using X11. I use the ...
John's user avatar
  • 11.6k
0 votes
1 answer
673 views

OpenGL ES direct to console framebuffer

Can OpenGL ES be used to render geometry to texture only? If so then how does one go about this? All code I've seen has dependencies on windows, X, SDL, or drivers, all of which are undesirable but ...
Dave Driesen's user avatar
0 votes
1 answer
140 views

How to get a clearer picture from FBO?

I'm new to both android and opengl es, so please forgive me if this is a dumb question. First of all, I've create a GLSurfaceView and set its width to 300 and height to 500. Then I create an FBO and ...
Eric Chou's user avatar
2 votes
0 answers
266 views

Half Float texture failing to attach to a framebuffer

I have 2 devices a Nexus 7 and a Kyocera Hydro Vibe both of which support GL_OES_texture_half_float and EXT_Color_buffer_half_float however attaching a buffer through // generate the textures ...
Metalith's user avatar
  • 103
0 votes
1 answer
415 views

OpenGL framebuffer android without GL_OES_packed_depth_stencil (on Nexus 7 2012)

How do I init the framebuffer with depth and stencil on a device which does not support GL_OES_packed_depth_stencil (In my case a Nexus 7 2012)? This does not work: glGenRenderbuffers(1, &...
Bastl's user avatar
  • 893

15 30 50 per page