# SmoothEdges

> Performs smoothing of near edge regions.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## SmoothEdges(int)

Performs smoothing of near edge regions.

```csharp
public void SmoothEdges(int smoothRegionWidthInPixels)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Pixel distance at edges over which to apply smoothing.

### Remarks

Helps to compensate lack of linear interpolation across the edges of cubemap in GPU.

Usually you will want to call this method for the cubemap which is going to be used for glossy reflections.

## SmoothEdges()

Performs smoothing of near edge regions.

```csharp
public void SmoothEdges()
```

### Remarks

Helps to compensate lack of linear interpolation across the edges of cubemap in GPU.

Usually you will want to call this method for the cubemap which is going to be used for glossy reflections.
