# Process Shadows

In some cases it can happen that shadows continue for way to long until the edge of the picture. Especially if you need the shadows to be uniform on many images (i.e. you would need a way to consistently cut the shadow for all images).

To easily change this without having to change the light and the camera, there is a *Post Processing* option called *Process Shadows*.

With it you can control how quickly the shadows disappear as they approach the edge of the image. Options:

<table data-full-width="false"><thead><tr><th width="155.333251953125">Option</th><th width="395">Description</th><th width="89.333251953125">Range</th><th width="100.666748046875">Default</th></tr></thead><tbody><tr><td><strong>Shadow Inner</strong></td><td>Mostly you will not need to use option, but this option pulls away shadows from the object. Unless you need something specific (e.g. increase the strength of the shadow that extends under the product) please skip this option.</td><td>0-1</td><td>0</td></tr><tr><td><strong>Shadow Outer</strong></td><td>Controls how far from the object the shadow disappears. The higher the value the more it tries to suppress the shadows that are not directly under the product.</td><td>0-1</td><td>0</td></tr><tr><td><strong>Shadow Falloff</strong></td><td>Controls the falloff of the shadow (how quickly, how soft the shadow gets). The lower the value quicker it gets softer away from the product.</td><td>0-1</td><td>1</td></tr><tr><td><strong>Shadow Opacity</strong></td><td>Controls the transparency and overall darkness of the generated shadows. The higher the value the less transparent it is.</td><td>0-1</td><td>1</td></tr></tbody></table>

Take for example the following image:

<figure><img src="/files/L4KxfabVvNUOWeae7tta" alt="" width="563"><figcaption><p>Original image</p></figcaption></figure>

When turning on the option we can see already that with the default values we see that much of the shadow disappears around the product:

<figure><img src="/files/AXCIlf9dV26yQzYBGKCo" alt="" width="563"><figcaption><p>Default values</p></figcaption></figure>

If we increase the **Shadow Outer** to 1 it will not let any shadow be casted away from the product (other than the shadow right under the product):

<figure><img src="/files/rbIru5YeDFCgFxSxRTGo" alt="" width="563"><figcaption><p>Shadow Outer </p></figcaption></figure>

If we decrease the **Falloff** to 0 it will make the shadows much softer much quicker away from the product. So you see the bit stronger shadow right under the product but going away the shadow gets much softer.

<figure><img src="/files/pVDRLDSpPC8IohcyT2X4" alt="" width="563"><figcaption><p>Falloff</p></figcaption></figure>

If you take a look at the last image (Falloff 0) we might want to make the shadow extend a bit more under the product and this is where **Shadow Inner** comes in. Increasing a value a bit, we can see that the shadow extends but the Falloff doesn't change.

<figure><img src="/files/lLAEGAO9mKaDSbLGcdge" alt="" width="563"><figcaption><p>Shadow Inner</p></figcaption></figure>


---

# 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://docs.colormass.com/building-blocks/scenes/post-processing/process-shadows.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.
