Making Volumetric Fog or Darkness That Clears Around You

So we’re looking for a way to create a large body of darkness or fog that gets cleared away as you move through it (think fog of war but volumetric).

It needs to have colliders/something that registers where you interacted with it (so, granular not one giant fog). And those areas that you have interacted with need to dissipate and come back after a certain amount of time.

Where would be a good place to start researching this? Unity packages/tutorials/anything?

Thanks so much!

There is a volumetric fog asset on the store, it is limited to box-shaped fog volumes though.

Particles can have collision detection. Using a lot of particles would be a good idea.

I don’t think this would work because he needs more than just a few large boxes of fog.

I think it’s like Minecraft but with only one height levell(you generate lot of “boxes” but draw their faces only if faces contact with “air”). Also you can look this topic: Texture to 3D weapon - Unity Engine - Unity Discussions
And this:
Marching squares - Wikipedia
http://wiki.unity3d.com/index.php/MarchingSquares

Take a look at our Volumetric Fog & Mist:

It does not support collision detection but you could simulate it creating invisible transparent blobs per stroke (which write to zbuffer and thus preventing the fog to draw inside them).
And the effect is quite good to try it IMO :slight_smile: I will do a quick test.

V2 also supports elevated fog and void areas and will be submitted today (already available on our support forum kronnect.com).

Check out this video:

V3.1 now supports Fog of War style clearings!