Jump to content

Home

Dynamic Glow Shaders?


Garland

Recommended Posts

I've looked at a few of the shaders that have the glow effect (where the glow literally bleeds around edges of models and such) and I'm not sure how this works.

 

I know it has to do with adding a "glow" flag to a shader stage, but I don't know how the color is derrived and/or if there are any extra settings for it.

 

Can anyone educate me on the nuances behind this nifty little feature?

Link to comment
Share on other sites

Just add "glow" to the shader stage, and it averages the color of that stage, and even properly applies it to alpha channels, I think, because like in Coruscant, the lights on the buildings are probably another shader stage with transparent parts, and the engine figured out what to glow on its own.

 

The only downside is that you can't explicity specify color, intensity, size, etc, which are done mostly through cvars, and have a global effect.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...