文档

Unity Engine

Unity Engine

SmoothEdges

Performs smoothing of near edge regions.
阅读时间1 分钟最后更新于 1 个月前

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.