# INSTAFOG

<figure><img src="/files/MQhbl9Ia2bqZGPYeu5x4" alt=""><figcaption></figcaption></figure>

### Usage

Access the addon's panel:

1. Open a 3D Viewport in Blender.
2. In the 3D Viewport, locate the Tool Shelf on the right side.
3. Look for the "CY-Tools" tab and click it to reveal the "CY-Tools Instafog " panel.

<figure><img src="/files/OSZXiSOIHyXMsxGoOIon" alt=""><figcaption></figcaption></figure>

The properties are set to the following by default to achieve a cloud look with the Principle Volume using a Musgrave texture. Make sure you have lights in your scene to view the fog properly and feel free to play around with the values. The following should be considered:

* Scale: This parameter controls the size of the texture. A larger scale value will create a more detailed texture with smaller features, while a smaller scale value will create a smoother texture with larger features.

<div><figure><img src="/files/CiwYc3FlamYFQKmpatUL" alt=""><figcaption><p>Scale: 2.4</p></figcaption></figure> <figure><img src="/files/j6GPOpG56U2JAShAtYTN" alt=""><figcaption><p>Scale: 0.7</p></figcaption></figure></div>

* Detail: This parameter controls the amount of high-frequency detail in the texture. A higher detail value will create a more complex texture with more small-scale variations, while a lower detail value will create a simpler texture with fewer variations.
* Dimension: This parameter controls the overall shape of the texture. Higher values will create a more flat, two-dimensional texture, while lower values will create a more three-dimensional texture with bumps and ridges.
* Lacunarity: This parameter controls the variation in feature size within the texture. A lower lacunarity value will create a more uniform texture with less variation in feature size, while a higher lacunarity value will create a more varied texture with larger and smaller features mixed together.&#x20;

<div><figure><img src="/files/haTXc7GfeSnwEY2zQBnC" alt=""><figcaption><p>Lacunarity: 1.0</p></figcaption></figure> <figure><img src="/files/LtXItRxQJRl88j2GLeNT" alt=""><figcaption><p>Lacunarity: 1.4</p></figcaption></figure></div>

### Recommendations:&#x20;

**FOR EVEE:**

<figure><img src="/files/GkLorjh7L4MMIAvN1mup" alt=""><figcaption></figcaption></figure>

Make sure to have a look at Render Properties > Volumetrics parameters. If you have a performing GPU, you can easily set the tile size to 2px to get a more crisp fog, as well as make sure to enable Volumetric Shadows. I personally got good results with Distribution and Light Clamping to 0.<br>

**FOR CYCLES:**

For more control over rendering go to Render Properties > Light Paths parameters.\
Change the "Volume" value from 0 to a value between 4 to 12 or above depending on your hardware.&#x20;

Under Render Properties > Volumes, change the Max Steps to control how many samples the volume will render with. You can lower this in case of extremely long render times.<br>

<figure><img src="/files/nxW9NU55ME1sep0XutZa" alt=""><figcaption></figcaption></figure>

I also recommended to using INSTAFOG in combination with the [COLORIZER ](/colorizer.md)addon.

### Development considerations

This addon is still in development and interactions may occasionally not work as expected.\
Follow this addon on Blender Market to stay tuned regarding any updates.

### Author and License&#x20;

Cy-Tools is a suite of Blender Addons created by @cyrusjameskhan and\
licensed under the GNU General Public License (GPL). See [LICENSE](/license.md) for more information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cytools.cjkproduction.com/instafog.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
