Skip to content

Commit

Permalink
Add SCREEN_UV shader built-in to spatial light shader
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaosus committed Nov 26, 2024
1 parent 14b0433 commit b1190d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorials/shaders/shader_reference/spatial_shader.rst
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ If you want the lights to add together, add the light contribution to ``DIFFUSE_
+-----------------------------------+------------------------------------------------------------------------+
| in vec3 **NORMAL** | Normal vector, in view space. |
+-----------------------------------+------------------------------------------------------------------------+
| in vec2 **SCREEN_UV** | Screen UV coordinate for current pixel. |
+-----------------------------------+------------------------------------------------------------------------+
| in vec2 **UV** | UV that comes from the ``vertex()`` function. |
+-----------------------------------+------------------------------------------------------------------------+
| in vec2 **UV2** | UV2 that comes from the ``vertex()`` function. |
Expand Down

0 comments on commit b1190d5

Please sign in to comment.