XNA UK User Group
A helping hand for bedroom coders throughout the land.
Fogging Sample

 

After some prompting from Charles Humphrey on his blog and in the XNA forums, I knocked up a quick sample that shows how to do fogging in shaders without using the fixed function render states. You can download the Fogging Sample here.


Posted Wed, Jul 18 2007 11:22 PM by leaf
Filed under: , ,

Comments

Nemo Krad wrote re: Fogging Sample
on Thu, Jul 19 2007 9:02 AM

Thanks, I will update my blog with Jon's code and drop a link to this example.

Thanks again :)

leaf wrote re: Fogging Sample
on Thu, Jul 19 2007 12:44 PM

I had to update the sample as there was an error in calculating the camera position. Download it again.

XNAGoodies wrote More Fog Sample
on Tue, Aug 28 2007 12:41 PM

Charles at RandomChaos took the fog sample we released previously and made it pretty, he also has some

RandomChaos wrote Shader Fog
on Mon, Oct 15 2007 8:49 PM

Have found out how to do fog in the shader so this means that you can now have fog in your XBox 360 games