Published : 012 – Framebuffers and SSAO

I just published a new Episode in my OpenGL & Vulkan Podcast:

012 – Framebuffers and SSAO
Understanding Framebuffer and SSAO.

http://opengl-trainer.de/podscats/folgen/012_Framebuffers_and_SSAO.mp3

Framebuffer:
framebuffer

SSAO

 glGenFramebuffers( 1, &fb );
glGenTextures( 1, &color );
glGenRenderbuffers( 1 , &depth );

glBindFramebuffer( GL_FRAMEBUFFER , fb );

glBindTexture( GL_TEXTURE_2D, color);
glTexImage2D(   GL_TEXTURE_2D,
0,
GL_RGBA,
fbo_width, fbo_height,
0,
GL_RGBA,
GL_UNSIGNED_BYTE,
NULL);

glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR );
glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR );
glFramebufferTexture2D( GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, color, 0 );

glBindRenderbuffer( GL_RENDERBUFFER, depth );
glRenderbufferStorage( GL_RENDERBUFFER, GL_DEPTH_COMPONENT24, fbo_width, fbo_height );
glFramebufferRenderbuffer( GL_DRAW_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, depth );

Framebuffer Tutorial:
http://www.learnopengl.com/#!Advanced-Lighting/SSAO


Find it on iTunes:
https://itunes.apple.com/de/podcast/opengl-vulkan-podcast/id1047136194?l=en

Use RSS Podcast link:
http://opengl-trainer.de/podscats/OpenGL_Vulkan_Podcast.xml

One thought on “Published : 012 – Framebuffers and SSAO”

  1. Hi there Kai,

    What ever happened to next time!?

    I’m in complete ignorance in 3D programming, spending my time instead doing other programming things; however, I have an interest and your podcast was interesting listening for when I’m working. I hoped to learn a few things about the terminology and approaches that are used in 3D programming and I think I have learned a lot. I need to find some time to have a play around with OpenGL (maybe WebGL, using three.js, or otherwise).

    It would be nice to hear more from you about OpenGL and Vulkan and 3D programming, in general. Whether that is more of the tutorial style content or even some news about 3D technologies. My other interest is open source software and the Linux stack, so I’ve been reading about the Radeon driver, MESA, Gallium, X11, etc. There’s a lot of stuff out there, which is daunting to the casual, but curious, passer-by.

    I see you haven’t given up on this blog entirely, so I hope that some more audio will be forthcoming. In the meantime, I might go back to episode 2 and start again…

    All the best,
    Roger Duthie

Leave a Reply

Your email address will not be published. Required fields are marked *

Are you Human ? *