Skip to content

Commit

Permalink
Merge pull request #10324 from Chaosus/shader_add_builtin
Browse files Browse the repository at this point in the history
Add `SCREEN_UV` shader built-in to spatial light shader
  • Loading branch information
Chaosus authored Nov 26, 2024
2 parents 4fc9e5e + b1190d5 commit ea08e87
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 ea08e87

Please sign in to comment.