Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosesmoothRegionWidthInPixels | Pixel distance at edges over which to apply smoothing. |
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.