Browse Source

clarified description of screen_pixel_size

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

+ 1 - 1
tutorials/shading/shading_language.rst

@@ -1022,7 +1022,7 @@ Fragment Built-Ins
 +----------------------------------+----------------------------------------------------------------+
 +----------------------------------+----------------------------------------------------------------+
 | in vec2 **SCREEN_UV**            | Screen UV for use with SCREEN_TEXTURE.                         |
 | in vec2 **SCREEN_UV**            | Screen UV for use with SCREEN_TEXTURE.                         |
 +----------------------------------+----------------------------------------------------------------+
 +----------------------------------+----------------------------------------------------------------+
-| in vec2 **SCREEN_PIXEL_SIZE**    | Screen pixel size.                                             |
+| in vec2 **SCREEN_PIXEL_SIZE**    | Size of individual pixels. Equal to inverse of resolution.     |
 +----------------------------------+----------------------------------------------------------------+
 +----------------------------------+----------------------------------------------------------------+
 | in vec2 **POINT_COORD**          | Coordinate for drawing points.                                 |
 | in vec2 **POINT_COORD**          | Coordinate for drawing points.                                 |
 +----------------------------------+----------------------------------------------------------------+
 +----------------------------------+----------------------------------------------------------------+