Explorar o código

Shading: Fix type of texscreen builtin

Fixes godotengine/godot#3651.
Rémi Verschelde %!s(int64=7) %!d(string=hai) anos
pai
achega
bfd4549c80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      learning/features/shading/shading_language.rst

+ 1 - 1
learning/features/shading/shading_language.rst

@@ -207,7 +207,7 @@ follows:
 +-----------------------------------------------------------------------+---------------------------------------------+
 | color *texcube* ( texture, vec3 )                                     | Read from a cubemap                         |
 +-----------------------------------------------------------------------+---------------------------------------------+
-| color *texscreen* ( vec2 )                                            | Read from screen (generates a copy)         |
+| vec3 *texscreen* ( vec2 )                                             | Read RGB from screen (generates a copy)     |
 +-----------------------------------------------------------------------+---------------------------------------------+
 
 Built-in variables