浏览代码

Update spatial_shader.rst to delete outdated light shader usage

谢天 1 年之前
父节点
当前提交
6177568e15
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      tutorials/shaders/shader_reference/spatial_shader.rst

+ 0 - 3
tutorials/shaders/shader_reference/spatial_shader.rst

@@ -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
 properties written to in the fragment function to calculate the lighting for you (subject to
 the render_mode).
 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
 The light function is called for every light in every pixel. It is called within a loop for
 each light type.
 each light type.