Merge pull request #1443 from clayjohn/screen_pixel_size

Clarified Description of SCREEN_PIXEL_SIZE
This commit is contained in:
Max Hilbrunner
2018-05-13 17:37:17 +02:00
committed by mhilbrunner
parent b45b1f7036
commit 2f7c18f078

View File

@@ -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. |
+----------------------------------+----------------------------------------------------------------+