Smooth Sprite Outline
CodeKeep
$4.99
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/17(2018) |
3.0 |
07/29(2019) |
4.99 |
11/27(2024) |
4.99 |
Jump AssetStore
Smooth Sprite Outline is an easy to implement, compact, and functional solution to draw outlines for 2D Sprites and Textures.
It features a highly customizable outline shader, which does not require any additional setup - just create a material, drop on your sprite, add Sprite Outliner component, and fine tune to your liking!
Smooth Sprite Outline PROs:
It's a single pass Shader, which allows it to take advantage of Unity's dynamical batching, to save up on performance!
Three quality levels allow you to find the balance between visuals and speed. It also makes it more Mobile friendly!
Additional layers, post processing effects or scripts are not needed - all you need is to add a material and a component to your sprite.
Second shader designed for normal textures! If your game relies on 2D quads with textures, or render textures, you can also use this asset!
Works well with Unity's 2017 Sprite Mask and Sprite Atlases / Sprite Sheets! When working with Sprite Atlases, the packing policy should be set to default ("rectangle").
Well structured and commented code.
Note: In order for this effect to work, the sprite needs an additional margin of transparency - this is where the outline will be drawn. The transparent margin can be adjusted using "Rect Size" property on the shader.
More instructions on how to setup the outline for sprites and textures can be found in the attached Documentation PDF file.