Adv. Edge Padding

FREE
Publisher Raving Bots
File size 1.41MB
Number of files 21
Latest version 1
Latest release date 2019-03-22 07:46:11
First release date 2016-03-21 08:01:25
Supported Unity versions 2018.4.2 or higher
The Advanced Edge Padding is a shader+script that dilates pixels around the border of an alpha texture. It prevents color 'bleed' and produces a similar effect to the one described here. This package is especially useful if you need to apply edge padding programmatically at runtime. The padding method can be customised, and it is very fast because dilation is produced by the shader.

Key Features:

+ optional edge trimming before padding (to get rid of 'dirty' pixels on the border),
+ supports two dilation techniques: 4-way (fast), and 8-way (more precise),
+ an adjustable number of padding iterations,
+ includes a short manual.

* suitable for desktop and mobile

Top Publisher Assets