Merge pull request #6707 from runny-yolk/patch-1

Linking between First 2D Shader and Custom Drawing
This commit is contained in:
Matthew
2023-02-02 20:43:37 -05:00
committed by GitHub

View File

@@ -38,8 +38,9 @@ property. This includes all :ref:`GUI elements <class_Control>`, :ref:`Sprite2Ds
material. This can be useful if you have a large number of nodes that you want
to use the same material.
To begin, create a Sprite2D node. You can use any CanvasItem, but for this
tutorial we will use a Sprite2D.
To begin, create a Sprite2D node. :ref:`You can use any CanvasItem <doc_custom_drawing_in_2d>`,
so long as it is drawing to the canvas, so for this tutorial we will use a Sprite2D,
as it is the easiest CanvasItem to start drawing with.
In the Inspector, click beside "Texture" where it says "[empty]" and select
"Load", then select "Icon.png". For new projects, this is the Godot icon. You