|
Bloom |
dthompson
Member #5,749
April 2005
|
I did a quick google for this on the forums, but the last threads I found were pretty old. I then searched for bloom tutorials; most talk about blurring the pixels in colour buffers (which I guess we'd normally just call ALLEGRO_BITMAPs). Given that this is a relatively common effect these days, I'd be interested to know how the modern Allegro developer - and I'm hoping this term applies to some of you - goes about doing this. Would then be good to get this written up in a tutorial on the wiki. ______________________________________________________ |
Edgar Reynaldo
Major Reynaldo
May 2007
|
When I want my flowers to bloom I just use fertilizer. Sorry, not helpful. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
dthompson
Member #5,749
April 2005
|
it won't compile {"name":"shader.png","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/5\/4507b76a762e8f5d3fd347cd8e05d519.png","w":450,"h":447,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/4\/5\/4507b76a762e8f5d3fd347cd8e05d519"} ______________________________________________________ |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Talk about roflmao 😁 Is there a specific formula you're looking for? I don't really know what bloom is. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
dthompson
Member #5,749
April 2005
|
Nah, no specific formula - but the general idea is "particularly bright things start to glow". Wikipedia said: The effect produces fringes (or feathers) of light extending from the borders of bright areas in an image, contributing to the illusion of an extremely bright light overwhelming the camera or eye capturing the scene You can see it around the edges of the silhouetted building here: {"name":"5knW2iR.jpg","src":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/b\/7b71ac07d9e0e1e56589c9e22d06ecda.jpg","w":2048,"h":1152,"tn":"\/\/djungxnpq2nug.cloudfront.net\/image\/cache\/7\/b\/7b71ac07d9e0e1e56589c9e22d06ecda"} ______________________________________________________ |
Edgar Reynaldo
Major Reynaldo
May 2007
|
Have you implemented lighting of any kind yet? It might be easier to work with if you already have basic lighting. My Website! | EAGLE GUI Library Demos | My Deviant Art Gallery | Spiraloid Preview | A4 FontMaker | Skyline! (Missile Defense) Eagle and Allegro 5 binaries | Older Allegro 4 and 5 binaries | Allegro 5 compile guide |
dthompson
Member #5,749
April 2005
|
Nope, but I'm not personally looking to use bloom for 3D anyway if anything, I just wanted it for a nice effect when my game is either paused or when the level completes. I'm just wondering if anyone happens to have implemented bloom with Allegro and is willing to share their code, mainly because I am a lazy programmer and don't want to do original research. ______________________________________________________ |
jmasterx
Member #11,410
October 2009
|
Agui GUI API -> https://github.com/jmasterx/Agui |
|