Framebuffer object (FBO) is an OpenGL object type that allows rendering to textures or other user-allocated image buffers. Versions of OpenGL older than 3.0 can access an extension version of this functionality.
Questions tagged [fbo]
421 questions
0
votes
1 answer
Android OpenGL 1.1 FBO and VBO support
Is there a way of achieving any one of the following 2 goals while using GL1.1 on Android's Java VM:
1. Render to texture using FBO
2. Use VBO to pass vertex information to GPU memory
I have a small application that renders several thousands of…

Vladimir Gazbarov
- 860
- 1
- 10
- 25
0
votes
0 answers
OpenGL: Screen goes white when I pass GL_NONE to both glDrawBuffer and glReadBuffer
I want to do a depth only pass in my renderer. I have created a FBO for this pass, and I attach only a depth buffer to it. I also pass GL_NONE to both glDrawBuffer and glReadBuffer, as per this thread:
Rendering multiple depth information with…

user2096853
- 31
- 6
0
votes
1 answer
FBO render to texture results in white texture
I'm trying to use FBO's for performance improvements and for the gained knowledge by trying out something new, but I have run in following problem:
When I render some texture to the back buffer it works perfect (just a bit slow because of multiple…

Ranking
- 11
- 4
0
votes
0 answers
glReadPixels with FBO crashing on iOS
I'm getting some intermittent crashing when calling glReadPixels on an FBO. Currently causing more than 1000 crashes per day in my live app.
I'll include below the code for reading the pixels and generating the FBO. Happy to include other code…

OnesAndZeroes
- 315
- 1
- 9
0
votes
1 answer
GPUImageAlphaBlendFilter - Incomplete filter FBO: 36054
I am trying to use the GPUImageChromaKeyFilter according to the FilterShowcase app from GPUImage examples, but obviously I am missing something because it crashes.
Here is my code:
videoCamera = [[GPUImageVideoCamera alloc]…

user2006934
- 171
- 3
- 11
0
votes
2 answers
OpenGL - poor performance and incorrect results while updating texture in a loop using FBOs
First of all:Windows XP SP3, 2GB RAM, Intel core 2 Duo 2.33 GHz, nVidia 9600GT 1GB RAM. OpenGL 3.3 fully updated.
Short description of what I am doing:Ideally I need to put ONE single pixel in a GL texture (A) using glTexSubImage2D every frame.Then,…

user2464424
- 1,536
- 1
- 14
- 28
0
votes
1 answer
Using RGB10_A2_UI format in glRenderBufferStorage()
I am using FBO and rendering to a texture. Here's my code :
GLuint FramebufferName = 0;
glGenFramebuffers(1, &FramebufferName);
glBindFramebuffer(GL_FRAMEBUFFER, FramebufferName);
GLuint renderedTexture;
glGenTextures(1,…

maverick9888
- 498
- 6
- 16
0
votes
1 answer
OpenGL Frame Buffer Object - glBindFramebuffer Error
Background:
I am trying to draw primitives into the default window-system framebuffer object. I have three objects which correctly get rendered. Now, I want to generate my own framebuffer object to contain these same images, but have each object…

user1298780
- 109
- 1
- 2
- 4
0
votes
1 answer
OpenGL mesh textures are flipped horizontally
I am working on a 3D renderer, and as I was loading various test models, I noticed that everything looked OK, except for the fact the the textures were all flipped on the x-axis.
This is actually previewed as I'm blitting my GBuffer to the screen,…

Andrei Bârsan
- 3,473
- 2
- 22
- 46
0
votes
1 answer
Multiple frame buffer object, frame rate drop dramatically
Here is the situation:
I use 2 FBOs, 1 for image filtering resolution 640*480, the other for real rendering using filtered images resolution 1024*768. However the framerate is much lower than i expected, eg 30+ fps -> 15 fps.
I checked each step of…

MagicTracy
- 35
- 8
0
votes
2 answers
OpenGL Use shader as filter
What is the standard procedure for using as a sort of filter in OpenGL? When I say filter I mean stuff like edge detection. For example, say I want to apply a SSAO filter to a FBO. Do I bind the FBO and depth buffer to a texture then draw a quad in…

Abaab
- 571
- 1
- 4
- 15
0
votes
1 answer
Converting JOGL texture into BufferedImage
I am very very new to JOGL. I am trying to create a BufferedImage object(which is used in other part of my code) out of a textrure (not a Texture object but a texture with a handle, storage). In the internet so far my searches gave me results to get…

AdityaG
- 428
- 1
- 3
- 17
0
votes
1 answer
AMD 6310 GLSL / FBO copy corrupts first few lowest order bits (but only sometimes)
I'm using OpenGL 2.0 and an FBO to copy some data from an RGBA texture to an RGB texture, and I ran into an issue where sometimes it "corrupts" the first few lowest order bits of some of the pixel components during the copy.
The texture copy is…
0
votes
1 answer
glGenFramebuffers makes program fail to run
I have reinstalled devcpp 4.9.9.2 on windows xp virtualbox and installed glut and glew.
My original program just used glut, and shows some spheres bouncing around a room. My problem is that once I add in the line
glGenFramebuffers(1,…

Adam Kenworthy
- 29
- 1
- 6
0
votes
1 answer
the arrt name GL_DEPTH_TEXTURE_MODE in Android sdk
I trying to use the FBO by Android OpenGLES 2.0
I can render to a color texture then render to the screen
now I want to render to a depth texture! but I didnt found the attr name GL_DEPTH_TEXTURE_MODE. is it not support in opengles?