기술 자료

Unity Engine

Unity Engine

SmoothEdges

Performs smoothing of near edge regions.
읽는 시간 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.