05.01.2015 Views

Lecture notes - FreeDesktop.Org

Lecture notes - FreeDesktop.Org

Lecture notes - FreeDesktop.Org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Post-processing Effects<br />

⇨ Overview:<br />

­ Render scene to off-screen target (framebuffer object)<br />

­ Off-screen target should be same size as on-screen window<br />

­ Additional information may need to be generated<br />

­ Render single, full-screen quad to window<br />

­ Use original off-screen target as source texture<br />

­ Configure texture coordinates to cover entire texture<br />

­ Texture rectangles are really useful here<br />

­ Configure fragment shader to perform desired effect<br />

20-May-2009<br />

© Copyright Ian D. Romanick 2009

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!