I finished it, and uploaded it.
As I said previously, it will eat FPS, it runs around 3 functions PER fog sprite...
But to me that was no problem, since it was a big part of the scene.
also, you could lower the amount of fog sprites if you want to laugh

the function fog_wind can be removed if needed, that only shows that fog adapts wind direction laugh

I hope you find it usefull, I made the dust sprites myself, they are free to use if you want to. Show me a picture if you're using it in your project, always interested in that laugh

downloadlink (~45kb): http://www.designorhea.com/3DGS/Fog.rar

have fun & regards,

EDIT: the code is based around the camera... you'll have to change it so it's moving around the object you want (player or something)

Last edited by Helghast; 02/19/10 13:54.

Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/