Browse Source

Merge pull request #10834 from pixcai/patch-1

Fix description of `shadows_disabled` shader render mode
Matthew 4 tháng trước cách đây
mục cha
commit
7329907b4a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tutorials/shaders/shader_reference/spatial_shader.rst

+ 1 - 1
tutorials/shaders/shader_reference/spatial_shader.rst

@@ -71,7 +71,7 @@ For visual examples of these render modes, see :ref:`Standard Material 3D and OR
 +-------------------------------+------------------------------------------------------------------------------------------------------+
 | **ensure_correct_normals**    | Use when non-uniform scale is applied to mesh *(note: currently unimplemented)*.                     |
 +-------------------------------+------------------------------------------------------------------------------------------------------+
-| **shadows_disabled**          | Disable computing shadows in shader. The shader will not cast shadows, but can still receive them.   |
+| **shadows_disabled**          | Disable computing shadows in shader. The shader will not receive shadows, but can still cast them.   |
 +-------------------------------+------------------------------------------------------------------------------------------------------+
 | **ambient_light_disabled**    | Disable contribution from ambient light and radiance map.                                            |
 +-------------------------------+------------------------------------------------------------------------------------------------------+