O'Reilly logo

OpenGL ES 3.0 Cookbook by Parminder Singh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making a scene glow real time with the bloom effect

Blooming is a very useful post screen processing technique that makes a real-time scene glow. With this effect, certain parts of the scene appear highly brighter and give an illusion of emitting scattered light in the atmosphere. This technique is widely used in gaming and cinematic effects.

The working principle of the bloom effect is very simple. The following image shows a pictorial representation of the working model, which is used in the current recipe. First, the scene is rendered to an offline framebuffer or texture (label 1), where its texture is used as an input in the next stage that detects the bright portions in the scene and writes in a new texture (label 2). This texture is then ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required