Does anyone have an idea of how to create ghosting effects around the bright areas of the scene as part of HDR postprocessing. I have thought of using the bright-filtered image to locate the ghosting spots, but how can I apply it and change it according to view?
Any articles would help too. Thanks.
HDR lens flare
Thanks. I've done tried similar sprite based. Although it works the results weren't really that nice. I'm looking for a true HDR based version of ghosting. Also, I'll need all of the intensly lit spots to have this feature, not just the sun.
This has awe-inspiring ghosting: http://www.daionet.gr.jp/~masa/rthdribl/
I'll see if I can find more info on the web.
This has awe-inspiring ghosting: http://www.daionet.gr.jp/~masa/rthdribl/
I'll see if I can find more info on the web.
Ah, I see they scale the brightpassed image at the center:
But I kept getting a repeat of the image if I downscaled it. How can I prevent this?
Code: Select all
Out.texCoord1 = (texCoord-0.5)*(-2.0) + 0.5;