# 地形繪製

地形繪製是一種控制表面外觀的方法。重要的是知道，繪製工具並不是繪製特定的顏色。當繪製工具經過表面時，它會增加或減少每個三角形角落的單一數值，範圍從0到1。然後，著色器可以使用這個值來決定基於該值使用什麼顏色。例如，著色器可以根據這個繪製的頂點值是0、1或介於兩者之間的值來混合兩個不同紋理樣本的顏色。

請參閱 [Painted materials](/zh-tw/shaders/painted-materials.md)如何創建可以利用頂點繪製值的自定義著色器

{% hint style="info" %}
Landscape painting  is a very much unfinished feature. It is missing many features that would help with user experience.
{% endhint %}

## 開始繪製

當選擇地形/landscape時，您可以通過按鍵盤上的**P**鍵開始地形繪製。地形上使用的默認材質會顯示藍色。這種顏色只是用來幫助可視化您正在繪製的位置。

### 圖層

每個頂點可以存儲多個值，以便能夠混合不同的地面屬性或在彼此之上層疊不同的地面材質。您可以使用鍵盤快捷鍵1、2、3、4、5直到8來切換要繪製的圖層。

### 減弱

繪製工具有平滑的減弱效果，這意味著它對受影響區域中間附近的頂點的繪製層值影響會比遠離工具的頂點更大。

### 擦除繪製

通過在繪製時按住鍵盤上的**Shift**鍵和按住滑鼠左鍵並移動滑鼠，可以減少或完全擦除繪製值。

### 繪製半徑

您可以通過按住鍵盤上的F鍵並將滑鼠向左或向右移動來減小或增加繪製工具的大小（或半徑）。


---

# 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.hology.app/zh-tw/level-design/di-xing-hui-zhi.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.
