Merge pull request #8818 from jsjtxietian/patch-5

Update spatial_shader.rst to delete outdated light shader usage
This commit is contained in:
Max Hilbrunner
2024-01-25 10:24:26 +01:00
committed by Max Hilbrunner
parent 1e93e71166
commit 89eba76d18
@@ -387,9 +387,6 @@ render_mode to ``unshaded``. If no light function is written, Godot will use the
properties written to in the fragment function to calculate the lighting for you (subject to
the render_mode).
To write a light function, assign something to ``DIFFUSE_LIGHT`` or ``SPECULAR_LIGHT``. Assigning nothing
means no light is processed.
The light function is called for every light in every pixel. It is called within a loop for
each light type.