Rasagar/Library/PackageCache/com.unity.probuilder/Documentation~/workflow-edit-smoothing.md
2024-08-26 23:07:20 +03:00

2.3 KiB

Smoothing hard edges on Meshes

You can define Smoothing Groups to create a smooth and rounded look on part or all of your Mesh. If you include only a portion of your Mesh, the rest of the Mesh has more of a sharp and hard-cornered look.

Smoothing does not subdivide the Mesh: it controls whether vertices are split for hard edges. This often works well for simpler Meshes, so it's great for anything that is isn't simple geometry. For example, you can use this on cylinders or more organic shapes, on curved walls, or on Mesh terrain chunks.

Smoothing Groups Example

Note: This produces a fairly subtle smoothing. If you need something that turns sharp edges into smooth curves, you need to either bevel those edges or subdivide the faces around them for greater control.

Some of the tasks you can perform include:

Defining a smoothing group

You can define up to 23 groups per Mesh in order to control the degree of smoothness.

To smooth a portion of your Mesh:

  1. Select the Face editing mode from the Edit Mode toolbar.

  2. Select the faces that you want to have smooth adjoining edges.

  3. Click the Smoothing Groups icon Smoothing action from the The ProBuilder toolbar.

  4. Click an unused smooth group number on the Smooth Group Editor window.

    Tip: Smooth groups already in use appear with a light blue highlight on the button.

    The selected faces now appear smoother.

You can repeat these steps using different number buttons.

Removing smoothing groups

To clear selected face smoothing groups:

  1. Select the faces with the group defined.
  2. Click the break smooth groups Clear Smoothing Group button on the Smooth Group Editor window.

Selecting faces in the groups

To select all faces matching the current smoothing group index, click the select by smooth group Select Faces button on the Smooth Group Editor window.