> For the complete documentation index, see [llms.txt](https://docs.world-creator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.world-creator.com/walkthrough/add-filters/add-base-color.md).

# Add Base Gradient Material

Now that the base of our terrain is finished, we can add a first pass of material to it. To get a nice detailed material we will use the [Gradient material](broken://pages/ESklo2RZSwHRWGKws6te). A gradient material works by applying a colour gradient to a given greyscale gradient. The greyscale gradient will be created using the World Creators [distribution system](/reference/terrain/distributions.md).&#x20;

We start by adding a [Melt distribution](/reference/terrain/distributions/terrain/melt.md) to our material's Gradient distribution stack. You can now see the resulting mask. Next, we simply select one of the Rock Gradient presets in the Gradient material to apply a predefined gradient to the material. You can of course also create your own custom gradient based of colours or reference images.

To add even more detail, we will use a second gradient material masked with a [Roughness Distribution](/reference/terrain/distributions/terrain/roughness.md), which has a darker tone.

<div><figure><img src="/files/OFMpWaTXWXmiWnQ72Yoq" alt=""><figcaption><p>Base Gradient</p></figcaption></figure> <figure><img src="/files/jX7DNvcJXCy7wVSehT6x" alt=""><figcaption><p>Melt distribution gradient</p></figcaption></figure></div>

<div><figure><img src="/files/XfPoaGC3fAOuywM1kxsa" alt=""><figcaption><p>Terrace Gradient</p></figcaption></figure> <figure><img src="/files/8Hjqwa8MxXBufB9HNORD" alt=""><figcaption><p>Dirt Gradient</p></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.world-creator.com/walkthrough/add-filters/add-base-color.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
