Foggy mesh offers a practical approach to render foggy visual objects. Support mesh and skinned mesh.
Practical means this technique does NOT need heavy calculations in shader. It is post process based. The basic idea comes from《ShaderX5 - Volumetric Clouds and Mega Particles》
It should be available on mobile devices!
What advantages does it have?
=> Any kind of light model can be applied on foggy mesh.
=> Foggy mesh interact correctly and accurately with depth values of existing objects in scene.
=> Simulate large scale of volumetric appearance with constant cost.
- Compatible with unity4 and unity5.
- Compatible with mobile platforms.
- Demo scene included.
- Full source code included.