Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SmoothEdges

Performs smoothing of near edge regions.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

SmoothEdges(int)

Performs smoothing of near edge regions.
public void SmoothEdges(int smoothRegionWidthInPixels)

Parameters

smoothRegionWidthInPixels

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.
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.