Browse Source

Update canvas_item's light built-in's to FRAGCOORD

isaacremnant 7 years ago
parent
commit
df9211514c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tutorials/shading/shading_language.rst

+ 1 - 1
tutorials/shading/shading_language.rst

@@ -1041,7 +1041,7 @@ Light Built-Ins
 +-------------------------------------+-------------------------------------------------------------------------------+
 | Built-In                            | Description                                                                   |
 +=====================================+===============================================================================+
-| in vec2 **POSITION**                | Fragment coordinate, pixel adjusted.                                          |
+| in vec2 **FRAGCOORD**               | Fragment coordinate, pixel adjusted.                                          |
 +-------------------------------------+-------------------------------------------------------------------------------+
 | in vec3 **NORMAL**                  | Input Normal. Although this value is passed in,                               |
 |                                     | **normal calculation still happens outside of this function**.                |