Explorar o código

Merge pull request #1443 from clayjohn/screen_pixel_size

Clarified Description of SCREEN_PIXEL_SIZE
Max Hilbrunner %!s(int64=7) %!d(string=hai) anos
pai
achega
2f7c18f078
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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_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.                                 |
 +----------------------------------+----------------------------------------------------------------+