言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Cubemap.SmoothEdges

public function SmoothEdges(smoothRegionWidthInPixels: int = 1): void;

Parameters

smoothRegionWidthInPixels Pixel distance at edges over which to apply smoothing.

Description

Performs smoothing of near edge regions.

Helps to compensate lack of linear interpolation across the edges of cubemap in GPU. Usually you will want to call this function for the cubemap which is going to be used for glossy reflections.