Skip to content

Commit 44884c2

Browse files
authored
Merge pull request godotengine#8258 from derkork/patch-3
fix: vertex coordinates are in local space
2 parents 8e327b1 + c490d5e commit 44884c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/shaders/shader_reference/canvas_item_shader.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ is usually:
117117
| | For a Sprite2D with a texture of size 64x32px, |
118118
| | **TEXTURE_PIXEL_SIZE** = :code:`vec2(1/64, 1/32)` |
119119
+--------------------------------+----------------------------------------------------+
120-
| inout vec2 **VERTEX** | Vertex, in image space. |
120+
| inout vec2 **VERTEX** | Vertex, in local space. |
121121
+--------------------------------+----------------------------------------------------+
122122
| inout vec2 **UV** | Normalized texture coordinates. Range from 0 to 1. |
123123
+--------------------------------+----------------------------------------------------+

0 commit comments

Comments
 (0)