Home > Development, Games, OpenGL, Programming, Scorch Marks > Bloomin’ lights

Bloomin’ lights

February 27, 2009 Leave a comment Go to comments

Light blooms are an interesting beast. I’m sure you’ve seen them in a lot of games over the past few years: the brightest lights becoming even brighter, and blurring out from the source a little, to impart to the player an impression of glare, as can be witnessed by the natural eye. In addition to a number of styles of bloom, from a slight change to an enormous blur, there are also many methods for implementing it.

I messed around with a few ideas for types of implementations for light blooms in Scorch Marks. I’m sure they could use some tweaking, but I got some good results for a GLSL path and for a fixed-function OpenGL path. I’m still not sure I’ve achieved my end result yet, but I’m reasonably happy with it for now. The GLSL, which gives far more control, is seen below. The bloom is increased a bit for this shot, to more obviously display the effect.

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: