mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-07 02:12:07 +03:00
Fix FRAGCOORD in shading_language.rst
This commit is contained in:
@@ -791,6 +791,8 @@ Fragment Built-Ins
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| Built-In | Description |
|
||||
+==================================+==================================================================================================+
|
||||
| in vec4 **FRAGCOORD** | Fragment coordinate, pixel adjusted. |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| in mat4 **WORLD_MATRIX** | Model space to world space transform. |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| in mat4 **INV_CAMERA_MATRIX** | World space to view space transform. |
|
||||
@@ -805,8 +807,6 @@ Fragment Built-Ins
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| in vec3 **VERTEX** | Vertex that comes from vertex function, in view space. |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| in vec4 **FRAGCOORD** | Fragment coordinate, pixel adjusted. |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| in bool **FRONT_FACING** | true whether current face is front face. |
|
||||
+----------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| out vec3 **NORMAL** | Normal that comes from vertex function, in view space. |
|
||||
@@ -874,6 +874,8 @@ Light Built-Ins
|
||||
+-----------------------------------+------------------------------------------+
|
||||
| Built-in | Description |
|
||||
+===================================+==========================================+
|
||||
| in vec4 **FRAGCOORD** | Fragment coordinate, pixel adjusted. |
|
||||
+-----------------------------------+------------------------------------------+
|
||||
| in mat4 **WORLD_MATRIX** | Model space to world space transform. |
|
||||
+-----------------------------------+------------------------------------------+
|
||||
| in mat4 **INV_CAMERA_MATRIX** | World space to view space transform. |
|
||||
@@ -1041,7 +1043,7 @@ Light Built-Ins
|
||||
+-------------------------------------+-------------------------------------------------------------------------------+
|
||||
| Built-In | Description |
|
||||
+=====================================+===============================================================================+
|
||||
| in vec2 **FRAGCOORD** | Fragment coordinate, pixel adjusted. |
|
||||
| in vec4 **FRAGCOORD** | Fragment coordinate, pixel adjusted. |
|
||||
+-------------------------------------+-------------------------------------------------------------------------------+
|
||||
| in vec3 **NORMAL** | Input Normal. Although this value is passed in, |
|
||||
| | **normal calculation still happens outside of this function**. |
|
||||
|
||||
Reference in New Issue
Block a user