浏览代码

Remove `SHADOW_ATTENUATION` spatial light shader built-in

Yuri Roubinsky 3 年之前
父节点
当前提交
88a61d2642
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tutorials/shaders/shader_reference/spatial_shader.rst

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

@@ -405,8 +405,6 @@ If you want the lights to add together, add the light contribution to ``DIFFUSE_
 +-----------------------------------+----------------------------------------------------+
 | in float **ATTENUATION**          | Attenuation based on distance or shadow.           |
 +-----------------------------------+----------------------------------------------------+
-| in vec3 **SHADOW_ATTENUATION**    |                                                    |
-+-----------------------------------+----------------------------------------------------+
 | in vec3 **ALBEDO**                | Base albedo.                                       |
 +-----------------------------------+----------------------------------------------------+
 | in vec3 **BACKLIGHT**             |                                                    |