• Advertisement
Sign in to follow this  

Camera Glow Shader

This topic is 1899 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi All,

I really want to add an effect like this to our 3D Engine:

[img]http://www.polygonblog.com/wp-content/uploads/2010/07/glowing-windows.jpg[/img]


This is the so-called Mental Ray "Camera Glow Shader". We want it to apply such effects to some objects we have in the level.
Any idea/guideline about implement this?

Regards

Mauro
Ion6

Share this post


Link to post
Share on other sites
Advertisement
Depending on a number of things, like which objects you want the effect on, and how close you can get to those objects, you might be able to get away with a simple hack like using a quad with alpha that represents the glow. If you can't get away with a simple trick like that, you can search for "Bloom" or "Bloom Shader".

[url="http://en.wikipedia.org/wiki/Bloom_(shader_effect)"]http://en.wikipedia.org/wiki/Bloom_(shader_effect)[/url] Edited by gfxgangsta

Share this post


Link to post
Share on other sites
If you want excatly this effect, a simple bloom will not do it. A bloom filter would have a more equal distribution of the light bleeding. In your example the vertical effect is much larger than the horizontal effect. It is hard to beat mental ray with a real time shader, but if just want some light bleeding, then bloom is the way to go.

Share this post


Link to post
Share on other sites
Thx guys I'll try this way......just an early test

[img]http://i.imgur.com/YvVBL.jpg[/img]


I'll test different shape and blur parameters... Edited by mauro78

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement