godot-shaders icon indicating copy to clipboard operation
godot-shaders copied to clipboard

Universal Outline2D Shader (with fix for Godot 4.x)

Open Dreadset opened this issue 1 year ago • 0 comments

Created a universal Outline2D shader script and fixed error regarding uniform 'hint_color' (it's called 'source_color' since Godot 4.0).

This script is a refactored combination of the shaders "outline2D_inner", "outline2D_outer" and "outline2D_inner_outer". With this, you can easily choose the desired outline in the inspector. Also added the possibility to turn the outline on and off via the inspector.

Dreadset avatar Sep 14 '24 19:09 Dreadset