Horizon haze technique
Posted: Mon Jul 27, 2009 9:30 am
Hey guys, sorry if this is the wrong place for this or if its against the rules. I've been following the blog posts for a while now and love what you guys are doing, the whole project looks really cool. I've been making my own terrian system in xna and have been getting some serious envy pangs each time i look at yours! I was wondering if you could give a little more detail (high level implimentation, no trade secrets!) on the haze band you use to mask where the land meets the skybox? I made a top and bottomless cylinder and a shader to give it a color and alpha gradient but it gets cut off by the land. at the bottom so it looks crap. I could get past this by rendering it to a different target and blending them in post processing but then we have z buffer issues where the band goes over mountains. The further i go into thinking about it the more complex the solution feels until it doesnt seem worth it... Anyway feel free to ignore me, just thought id throw a torch in the dark 
Keep up the work, loving the blog!
Pete
Keep up the work, loving the blog!
Pete