Skip to content

Commit 6177568

Browse files
authored
Update spatial_shader.rst to delete outdated light shader usage
1 parent d7d127f commit 6177568

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tutorials/shaders/shader_reference/spatial_shader.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,9 +387,6 @@ render_mode to ``unshaded``. If no light function is written, Godot will use the
387387
properties written to in the fragment function to calculate the lighting for you (subject to
388388
the render_mode).
389389

390-
To write a light function, assign something to ``DIFFUSE_LIGHT`` or ``SPECULAR_LIGHT``. Assigning nothing
391-
means no light is processed.
392-
393390
The light function is called for every light in every pixel. It is called within a loop for
394391
each light type.
395392

0 commit comments

Comments
 (0)