All Questions
Tagged with framebuffer fbo
60
questions
1
vote
1
answer
2k
views
Qt OpenGL QGLFramebufferObject: Framebuffer incomplete attachment
Can any one tell me why my code works on local machine but not on a remote machine I'm trying to push to?
local driver version: NVIDIA-SMI 460.91.03 Driver Version: 460.91.03
remote driver version: ...
1
vote
1
answer
385
views
OpenTK offscreen framebuffer distorted and rendering improperly with identical material?
I'm trying to implement shadow mapping: rendering the depth of all relevant objects to an offscreen texture, then using that texture in my main pass to figure out what fragments are obscured by a ...
2
votes
1
answer
978
views
How to blit two transparent frame buffer objects using QOpenGLFramebufferObject?
I have two FBOs created using QOpenGLFrameBufferObject, which are images with a transparent background and some lines and text on top of them. I am blitting the first fbo onto the second using ...
0
votes
0
answers
264
views
iOS OpenglES 3.0 rendering to texture fails with depth attachment
Rendering into texture in my mobile app works fine when the rendertarget texture has no depth attachment. When I add a depth attachment, it stops working on iOS. Apparently can't switch back to the ...
3
votes
1
answer
547
views
OpenGL drops performance when writing to nonzero FBO attachment on AMD
I noticed that my 3D engine runs very slow on AMD hardware. After some investigation the slow code boiled down to creating FBO with several attachments and writing to any nonzero attachment. In all ...
0
votes
1
answer
917
views
I get GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT for the second FBO I create but not the first
I had an OpenGL application with one FBO besides the default frame buffer. Everything worked fine.
Then I tried to add a second FBO, using the same code as I used for the first one, and suddenly it ...
1
vote
1
answer
530
views
Write to OpenGL multiple renderbuffer failed
Not sure what is the problem, it failed to read the pixels when writing to multiple renderbuffer. Here is the code:
setup code:
// gen framebuffer object
glGenFramebuffers(1, &fbo);
...
3
votes
0
answers
968
views
glTexImage2D memory usage in RAM (used in conjunction with an FBO)
When using glTexImage2D to attach textures to a Framebuffer Object (FBO), i recognized that the memory usage goes up in RAM. It looks like textures are allocated by OpenGL not only on the GPU but also ...
1
vote
1
answer
4k
views
Connecting Firebase to Android application using Firebase authentication via email/password
I am trying to connect Firebase to my Android application using Firebase authentication via email/password. I am getting these errors:
2:16 PM Emulator: FramebufferData::restore: warning: a ...
0
votes
1
answer
1k
views
Why is "glRenderbufferStorageMultisample" giving error for following code?
Why is "glRenderbufferStorageMultisample" giving me an invalid operation error (1282)?
I'm trying to render a scene into a Multisampled FBO with color/depth buffers only (no textures here) & then ...
0
votes
1
answer
877
views
Re-create FBO (frame buffer object) each frame
I would like to create FBO but that will be "shared" between all contexts.
Because an FBO is container and can not be "shared", but only its buffers, I thought to do the follow:
Create an object ...
-1
votes
1
answer
693
views
Creating Opengl renderbuffer with no framebuffer bound
I noticed something strange when I was using frame buffers to do offscreen rendering. I am rendering a cube to a texture and then that texture onto a plane. It all worked and I decided to skip the ...
2
votes
1
answer
993
views
How to correctly set the width and height of a FrameBuffer in libgdx?
I am using a FrameBuffer to rasterize several TextureRegions in a single TextureRegion, to be drawn on an Image/Actor afterwards.
The constructor of a FrameBuffer is the following:
FrameBuffer(...
1
vote
1
answer
579
views
Why does adding a color attachment cause a 3x slowdown?
i was rendering some models depth-only like this:
m_fbo = new globjects::Framebuffer();
depthBuffer = globjects::Texture::createDefault();
depthBuffer->storage2D(1, GL_DEPTH_COMPONENT32F, size, ...
0
votes
1
answer
188
views
OpenGL FBO texture width height in games [closed]
I have a question regarding Frame buffer objects in games. If a user changes the screen resolution in a game multiple times, what happens with the FBO sizes for post-processing etc? Do you have to ...