# Gradient Removal

Gradients are common in textures, often resulting from uneven lighting or imperfections in real-world materials, where seams show noticeable color differences. This operator is a powerful tool for reducing those gradients.

In order to add the operator click on *+ Add operator* and then select *Gradient Removal*:

<figure><img src="/files/eRieBqGwwPbxUWZfvZYR" alt="" width="135"><figcaption></figcaption></figure>

{% hint style="info" %}
If the *+Add operator* text is not visible, it means you need to add a *Tiling* operator first before you can add any other operators.
{% endhint %}

<div><figure><img src="/files/rvAxsh9J22G7y8B785eM" alt=""><figcaption><p>Before</p></figcaption></figure> <figure><img src="/files/5ZgVPB8o67XHs8FnkMOt" alt=""><figcaption><p>After</p></figcaption></figure> <figure><img src="/files/eH65wo2l4S84N3v9wo7O" alt=""><figcaption><p>Gradients removed</p></figcaption></figure></div>

Additionally, it can be used to smooth out folds. For example, in the image above, a textile wasn't perfectly aligned on the table during digitization, causing bumps that may appear undesirable in renders. This operator helps to smooth out those imperfections.

{% hint style="danger" %}
Be cautious when using the gradient removal operator, as it’s easy to overdo it and end up removing too many details from the texture. The goal is not to make everything look overly perfect or homogeneous, as filtering out small details and imperfections can result in a less realistic appearance. The example below illustrates how excessive use of the operator can eliminate crucial details of the fabric, compromising its authenticity.
{% endhint %}

<figure><img src="/files/UfRL0O90RxFnUd7Ga9vZ" alt="" width="375"><figcaption><p>Overdone gradient correction leading to loss in detail</p></figcaption></figure>

Overall, normal maps are generally the least sensitive to gradient correction, while diffuse maps are more sensitive, particularly if they contain larger patterns rather than solid colors. Be sure to click through the different maps and check the effect of the gradient removal by toggling the operator on and off using the eye icon. It is common practice to apply multiple gradient removal operators with different settings to different sets of maps. This allows for more targeted adjustments, ensuring the best results for each type of map.


---

# 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/scanning-and-tiling/texture-editor/operators/gradient-removal.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.
