Cubemap.SmoothEdges

Declaration

public void SmoothEdges(int smoothRegionWidthInPixels = 1);

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 method for the cubemap which is going to be used for glossy reflections.


Did you find this page useful? Please give it a rating: