Best way to create fog/fade effect?

The most common way I’ve seen is to stack a bunch of transparent parts next to each other, which creates a fog effect. Usually this is used for alternative water in games where the realistic water doesn’t fit the style of the game. However, this method is not desirable, as the fog gradient is not smooth; instead it is blocky, and the only way to increase the resolution is to keep adding more parts and shrinking them which just ends up with way too many parts by the time it actually looks smooth. Is there a better way to do this?

2 Likes

I usually use a particle emitter and a custom texture for stuff like this, not sure if thats what youre going for though :slight_smile:

1 Like

100% not recommended. Particle emitters will take a severe chunk of performance out of your game unless it’s just so small it’s pointless. But at all costs NEVER use the default “smoke” either. Thats even worse…

Thanks for correcting me. I was merely trying to say what i typically use and suggesting it to this guy. But, if my way is terrible then id love to hear how to do it instead, that way i can do it right in the future