File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
tutorials/shaders/shader_reference Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -159,8 +159,7 @@ it to the ``NORMALMAP`` property. Godot will handle converting it for use in 2D
159159| Built-in | Description |
160160+=============================================+===============================================================+
161161| in vec4 **FRAGCOORD ** | Coordinate of pixel center. In screen space. ``xy `` specifies |
162- | | position in window, ``z `` specifies fragment depth if |
163- | | ``DEPTH `` is not used. Origin is lower-left. |
162+ | | position in window. Origin is lower-left. |
164163+---------------------------------------------+---------------------------------------------------------------+
165164| in vec2 **SCREEN_PIXEL_SIZE ** | Size of individual pixels. Equal to inverse of resolution. |
166165+---------------------------------------------+---------------------------------------------------------------+
@@ -233,8 +232,7 @@ Below is an example of a light shader that takes a CanvasItem's normal map into
233232| Built-in | Description |
234233+==================================+==============================================================================+
235234| in vec4 **FRAGCOORD ** | Coordinate of pixel center. In screen space. ``xy `` specifies |
236- | | position in window, ``z `` specifies fragment depth if |
237- | | ``DEPTH `` is not used. Origin is lower-left. |
235+ | | position in window. Origin is lower-left. |
238236+----------------------------------+------------------------------------------------------------------------------+
239237| in vec3 **NORMAL ** | Input Normal. |
240238+----------------------------------+------------------------------------------------------------------------------+
You can’t perform that action at this time.
0 commit comments