PDA

View Full Version : Partial glow



Petr Schreiber
27-02-2008, 20:19
Hi all,

how to do fullscreen glow you could see on TBGL website tutorial.
But in most cases you need to make glow just some objects. I promised sample some ... longer time ago, so here it comes :)

To get just partial glow, you can render the wanted objects as normal, and those to not have a glow as black ones. They still keep depth mask functionality, but keep sharp look.

I prepaired a very very basic "forrest" demo. Trees are billboards from ShareCG (http://www.sharecg.com/v/7437/texture/tree-map-with-alpha) ( dicovered that site today :) ).

What you should see glowing - stars, moon, and leafs ( to see them go deeper to forrest ).
Ground and trees should not glow at all ( but can be covered by "halo" from glowing things ).


Hope you will like it,
Petr

matthew
27-02-2008, 20:59
Very nice :)

kryton9
27-02-2008, 22:21
Wow, thanks Petr, very nice looking sweet demo!

Petr Schreiber
28-02-2008, 18:47
Thanks,

what I like about this effect is that with very little extra code you get unique look.
Did you found the flying leafs in deep forrest :) ?


Bye,
Petr

kryton9
29-02-2008, 03:02
Yes I found those cool leaves, I really loved that wonderful feeling deep in the woods, great touch there Petr!!!

Michael Hartlef
29-02-2008, 06:17
Very nice demo. Thanks for sharing Petr.