Преглед на файлове

Merge pull request #8881 from sammonius/patch-1

Update canvas_item_shader.rst
Max Hilbrunner преди 1 година
родител
ревизия
0c172b3caa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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.    |
 +---------------------------------------------+---------------------------------------------------------------+