Glow Effect

Any ideas on how to make glow effects, that only makes certain materials or objects “glow”? I am thinking bloom per object or material! :eek:

Cryengine 3 glow:
Also, someone asked about it here!

This would be awesome!

There is some nice 2dfilter with glow effect in Martinsh´s Bathroom v.2. Anyone have a link to this demo?

Just fake them with alpha and ‘object color’ ,atm there is no other way around it.

I am not sure what you mean by that, do you have an example?

Otherwise my idea is using shadeless or emit to make objects brighter than their environment, and then use a 2d filter that responds to contrast just like martinsh´s lens flares.

Anyone have a bloom filter that takes contrast into account? And only apply bloom to bright areas?

  1. You should be able to make a bloom filter that has a threshold by checking the luminance texture for its value. This script contains a reference to the luminance texture, but it doesn’t seem to use it.

  2. You should be able to have a bloom filter affect only certain objects. I believe you would have to render them to a texture, and then run a bloom GLSL fragment shader on an object displaying the texture.