Distance Haze and cubemaps,
Members - Reputation: 143
Posted 28 September 2011 - 06:42 AM
Is there any code or examples I can reference or perhaps someone can give a description of the algorithm? The only explanation I found was in WolfFire's blog on their Overgrowth game. Unfortunately he does not go into great detail as to how he achieved this.
I would be very thankful if anyone can help me or point me in the right direction.
Many many thanks for any help anyone can give me,
Members - Reputation: 275
Posted 28 September 2011 - 07:09 AM
- blurr your skybox very strong radial around the up-axis
- u can probably use the term distant fog instead of haze
- then just apply fog to your geometry based on the distance
- lookup the color of the fog from your blurred cubemap
as they also metioned, u can use the cubemap also for the ambient color in some way. So that the cubemap alone controls the enviroment lighting of your scene