mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Merge pull request #6707 from runny-yolk/patch-1
Linking between First 2D Shader and Custom Drawing
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user