Smooth Sprite Outline
CodeKeep
$5.49
Date |
Price |
---|---|
日時 |
価格($) |
03/17(2018) |
3.3 |
07/29(2019) |
5.49 |
11/22(2024) |
5.49 |
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.