> 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="https://2837684122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6zsxw2jbMYEZbKqEwpa%2Fuploads%2FC3RFF9ATfePAXGwuPRWR%2Fwalkthrough_gradient_01.webp?alt=media&amp;token=e6bc07e2-dffb-4a2e-bda7-296cf079d8f6" alt=""><figcaption><p>Base Gradient</p></figcaption></figure> <figure><img src="https://2837684122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6zsxw2jbMYEZbKqEwpa%2Fuploads%2FvdlSlWPA0pM7BN6AWzEP%2Fwalkthrough_gradient_02.webp?alt=media&amp;token=0851b171-9a91-466e-81cd-1c242d478169" alt=""><figcaption><p>Melt distribution gradient</p></figcaption></figure></div>

<div><figure><img src="https://2837684122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6zsxw2jbMYEZbKqEwpa%2Fuploads%2FPqvzsOgIV8NojLtP0BMy%2Fwalkthrough_gradient_03.webp?alt=media&amp;token=29286933-0090-4b0e-a903-dcc02b973a83" alt=""><figcaption><p>Terrace Gradient</p></figcaption></figure> <figure><img src="https://2837684122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM6zsxw2jbMYEZbKqEwpa%2Fuploads%2FGzWsbNo9oN7pkhR9RxIT%2Fwalkthrough_gradient_04.webp?alt=media&amp;token=4afe29bc-125e-4839-a61b-71792e369642" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
