# Ep.4.2 — Gradient Tool

https://youtu.be/E_iooON8VDs

This covers **Linear** and **Half** in the new **Gradient** tool. If separate eye and mouth meshes still tear after Smooth, bridge them in one drag with Linear. For finger joints, use Half to lay a half-circle weight.

| Topic | What it covers |
|------|------|
| Linear | One top-to-bottom drag that smooths even separate meshes |
| Selected area only | Applying Gradient only to vertices picked in Vertex mode |
| End value · Swap | An end value other than 0, and flipping the direction |
| Half | A half-circle from the joint, also on a Mask |

Related: [Ep.4.1 — Connected Brush Projection](/guide/skin-layer-studio/ep04-1-connected-settings?lang=en)

## Part 1. Linear

### 1. Paint + Smooth Alone Tears Separate Meshes

For characters where Squash & Stretch matters, you usually paint the upper bone (**Skin_Body_Up**) and lower bone (**Skin_Body_Dn**) and clean up with **Smooth**.

- Connected meshes like the body look fine.
- Separate meshes like the eyes and mouth don't match the body's weights, so they tear when you move the rig.

![Paint + Smooth — 떨어진 눈 메쉬가 찢어짐](smooth_tear.png)

### 2. Turning On Gradient → Linear

1. Click **Gradient** in the toolbar above the viewport.
2. Choose **Linear** next to it.
3. A **Start**, **⇄**, **End** row appears under the toolbar. By default Start is 1.00 and End is **Keep**.

![툴바 — Gradient · Linear · Half와 Start / End](gradient_toolbar.png)

### 3. Dragging from Top to Bottom

1. Select **Skin_Body_Up** in the bone list.
2. Drag straight from top to bottom. The drag start gets the Start value, the drag end gets the End value, and everything in between blends smoothly.
3. Separate eye and mouth meshes at the same height get the same value.

![Gradient Linear — 위에서 아래로 드래그](gradient_linear_drag.png)

4. Move the bones again to check. The eyes and mouth follow smoothly without tearing, and Squash & Stretch looks clean too.

![Gradient 적용 후 — 눈과 입이 같이 따라옴](gradient_after.png)

### 4. Applying Only to a Selected Area

Use this when you want the gradient only on the body, not the whole mesh.

1. Press **Reset**.
2. In **Vertex** mode, select only the area you want.
3. Press **Shift + W**.

![Vertex 모드 — 넣을 부분만 고르기](vertex_select.png)

4. Drag with **Gradient** again. It goes only into the selected vertices.

![선택한 버텍스에만 들어간 Gradient](gradient_selection.png)

### 5. Setting the End Value

Switch **End** from **Keep** to **Value** to set an end value other than 0.

| Field | What it does |
|------|------|
| Start | Value at the drag start |
| End: Keep | Default. The end value field shows 0.00 |
| End: Value | Type the end value yourself |
| ⇄ (Swap) | Swaps the Start and End values |

Example: with Start 1.00 and End Value 0.50, the far end does not drop all the way to 0.

![End: Value 0.50, Start 1.00](end_value.png)

### 6. Flipping the Direction with Swap

Press the **⇄** button between Start and End to flip the direction instantly. Start 1.00 / End 0.50 becomes Start 0.50 / End 1.00.

![⇄ Swap — Start 0.50 / End 1.00](swap.png)

## Part 2. Half

### 7. Half on a Finger Joint

Use it when weighting a single joint such as the index finger. With Linear, the gradient runs across the whole hand and ends up muddy.

1. Choose **Half** under **Gradient**.
2. Drag from the joint. It goes in as a half circle centered on the joint.

![Half — 검지 관절에 반원 모양으로](half_finger.png)

3. Bend the finger bone in **Select** mode to check. The joint folds smoothly.

![Select 모드 — 구부려서 확인](half_bend.png)

### 8. Using It on a Mask

Gradient also works on a **Mask**.

1. Choose **[Mask]** in **Influences**.
2. In **Vertex** mode, select only the area you want, such as the back of the hand.
3. Drag with **Half**, and it goes only into the selected area.

![Mask — 손등만 골라 Half 적용](half_mask_select.png)

## Summary

| Situation | Use |
|------|------|
| Smoothing separate meshes like eyes and mouth in one go | Gradient → Linear |
| Only part of the mesh, such as the body | Select in Vertex mode, then Gradient |
| An end value other than 0 | End: Value |
| Flipping the direction | ⇄ (Swap) |
| Finger joints | Gradient → Half |

Previous: [Ep.4.1 — Connected Brush Projection](/guide/skin-layer-studio/ep04-1-connected-settings?lang=en)
Next: [Ep.5 — Layer Basics](/guide/skin-layer-studio/ep05-layer-basics?lang=en)