> 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/zh/cao-zuo-zhi-nan/run-simulations/add-sand.md).

# 添加沙子

为了进一步润色我们的地形，我们现在继续到 [模拟图层](/zh/can-kao/terrain/simulation-layers.md)。模拟图层提供高质量的物理模拟，例如 [沙子](/zh/can-kao/terrain/simulation-layers/sand.md), [流体](/zh/can-kao/terrain/simulation-layers/fluid.md), [雪 ](/zh/can-kao/terrain/simulation-layers/snow.md)或 [碎屑 ](/zh/can-kao/terrain/simulation-layers/debris.md)，这些在滤镜栈上方对模拟材料起作用。因为我们想创建一个沙漠峡谷，所以我们将首先使用沙子模拟。

添加沙子图层后，点击 **编辑** 并对沙子生成的区域进行遮罩。默认情况下，每个模拟图层都带有其可绘制的遮罩。

<div><figure><img src="/files/33428e4d23818412c5137edf0a8f26f7fa73ffd6" alt=""><figcaption></figcaption></figure> <figure><img src="/files/afd30bfac57e8549a540f98b90bf86ac2618fa52" alt=""><figcaption><p>沙子遮罩</p></figcaption></figure></div>

为了给我们的沙子添加纹理，我们创建一个新材质，赋予它类似沙子的颜色，并将沙子模拟图层拖入其分布堆栈。这会创建一个 [模拟图层分布](/zh/can-kao/terrain/distributions/layer/simulation.md) ，它引用了沙子图层。

<figure><img src="/files/8ee8132c6b4b85cd730b483440e9a0cc16f82949" alt=""><figcaption><p>沙子材质</p></figcaption></figure>

为了进一步增强场景，我们随后添加第二个使用较暗材质的沙子模拟。这次我们不对其进行遮罩，而是降低 **生成数量，** 这会产生一个漂亮的整体淡化效果。

<div><figure><img src="/files/588ebb083fbcf101f76db9a5fc11e7b4986ce067" alt=""><figcaption><p>深色沙子</p></figcaption></figure> <figure><img src="/files/10d2d7263464a6b409f6212cc6de785cec082ade" alt=""><figcaption><p>深色沙子材质</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/zh/cao-zuo-zhi-nan/run-simulations/add-sand.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.
