Edit of asset "2D outline shader" Accepted

Old/Current New/Edit
Title 2D outline shader
Description Adds an outer or inner stroke to a texture. Just attach the shader to a ShaderMaterial and the ShaderMaterial to a Sprite2D or AnimatedSprite2D. Less suitable for textures with anti-aliased edges. Shader parameters:

- color
- width
- pattern (diamond, circle, square)
- inside
- add_margins (to make room for an outline)
- number_of_images (number of horizontal and vertical images in the sprite sheet)

When using a sprite sheet: if the images contain a few semi-transparent pixels from adjacent images, try increasing the 0.0 at lines 41 and 69 to a value like 0.1.
Category Shaders
License MIT
Repository Provider GitHub
Repository Url https://github.com/Julian-Vos/asset-library-2D-outline-shader-4
Issues Url https://godotshaders.com/shader/2d-outline-inline-configured-for-sprite-sheets/
Godot version Godot 4.0
Version String 1.0.0
Download Commit b41ecb704f260c3f04b35b19837ace0f89cb092d
Download Url (Computed) https://github.com/Julian-Vos/asset-library-2D-outline-shader-4/archive/b41ecb704f260c3f04b35b19837ace0f89cb092d.zip
Icon Url https://godotshaders.com/wp-content/uploads/2021/01/outline_shader_asset_library.png
Preview Remove
Type image
Image/Video URL
Thumbnail https://godotshaders.com/wp-content/uploads/2021/01/outline_shader3-74fc6699.png
Preview Remove
Type image
Image/Video URL
Thumbnail https://godotshaders.com/wp-content/uploads/2021/01/outline_shader_sprite_sheet-1.gif
Preview Insert
Type image
Image/Video URL https://godotshaders.com/wp-content/uploads/2021/01/outline_shader2-0c0d365e.png
Thumbnail
Preview Insert
Type image
Image/Video URL https://godotshaders.com/wp-content/uploads/2021/01/outline_shader3-74fc6699.png
Thumbnail