Browse Source

Merge pull request #8881 from sammonius/patch-1

Update canvas_item_shader.rst
Max Hilbrunner 1 year ago
parent
commit
0c172b3caa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/shaders/shader_reference/canvas_item_shader.rst

+ 1 - 1
tutorials/shaders/shader_reference/canvas_item_shader.rst

@@ -159,7 +159,7 @@ it to the ``NORMALMAP`` property. Godot will handle converting it for use in 2D
 | Built-in                                    | Description                                                   |
 +=============================================+===============================================================+
 | in vec4 **FRAGCOORD**                       | Coordinate of pixel center. In screen space. ``xy`` specifies |
-|                                             | position in window. Origin is lower-left.                     |
+|                                             | position in window. Origin is upper-left.                     |
 +---------------------------------------------+---------------------------------------------------------------+
 | in vec2 **SCREEN_PIXEL_SIZE**               | Size of individual pixels. Equal to inverse of resolution.    |
 +---------------------------------------------+---------------------------------------------------------------+