> For the complete documentation index, see [llms.txt](https://alexander-ameye.gitbook.io/stylized-water/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alexander-ameye.gitbook.io/stylized-water/features/fog.md).

# Fog

Working with Unity's fog.

This asset will work with Unity's fog.

![](https://869580074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzInl6-QAxSvemyRKBI%2F-MGIHwcIJBxZ5ZGitICY%2F-MGIJaKVQ5aE4m-x9Je9%2Fimage.png?alt=media\&token=02f72d65-4def-42cf-ad1d-dbf5ae8000da)

## Linear Fog

When using linear fog, the effect might look weird resulting in your water surface maybe looking opaque. You'll need to open up the fog subgraph located under *Stylized Water For URP > Shaders > Libraries > Surface and Lighting > Fog.*

Then, connect up the nodes like this.

![](https://869580074-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LzInl6-QAxSvemyRKBI%2F-MGIHwcIJBxZ5ZGitICY%2F-MGIL8kDGWhgJqzNmnzA%2Fimage.png?alt=media\&token=ca8a37d1-c867-4aee-88b6-b05541568a12)

This will make it so that the linear fog effect works as it should. When using exponential fog, you'll need to connect up the upper node group.
