The sprite shows up fine, and the canvas item shader compiles fine with no errors. However, the shader include file has a compile error when the file is open. There is probablysomedocumentation improvement that could be made in the#includesection. There are probably also some improvements that...
The margin properties don't help here. This could be fixed bygodotengine/godot-proposals#6506("Allow canvas groups to be used as textures"). However, because it makes certain full-screen custom shaders on CanvasGroups impossible, I think this is a bug or design mistake that needs to be f...
Godot Engine – Multi-platform 2D and 3D game engine - godot/editor/plugins/canvas_item_editor_plugin.cpp at 4ab8fb809396fa38ba929fec97cfcb7193f1c44d · godotengine/godot
Godot Engine – Multi-platform 2D and 3D game engine - godot/scene/main/canvas_item.cpp at master · godotengine/godot