Need fogging alpha equation!

Miscellaneous Forums/General Discussion/Need fogging alpha equation!

What's wrong with just multiplying the sprite by a color calculated depending on the fog distance?