Glow post processor

The final effect that we will look at is glow. Glow is generally implemented by rendering the parts of the scene that are meant to glow into a render target, then blurring that render target. The blurred image is then drawn additively over the original render of the scene to make it look like parts of the scene are in fact emitting light. The following screenshot shows the non-blurred glow channel on the left, which transitions to the blurred version on the right:

Glow post processor

We will need a few things to implement glow in our game: RenderCapture for the regular render of the scene and the glow render, an effect to used to render the glow, ...

Get 3D Graphics with XNA Game Studio 4.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.