Sunbeams-in-dusty-air effect

Miscellaneous Forums/Blitz Showcase/Sunbeams-in-dusty-air effect

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Some of you might know the effect used in the engine of Hitman 2 (and maybe used by other engines as well), when sunlight is falling trough a window into a dusty room and there are visible beams in the air, eg. in the church scene. I was pretty impressed by that effect, and now I wrote some code that will take a texture and create some sunbeams based on the images colors:



It's a low poly solution, might look cool in lightmapped levels. I'll put this to the code archives.