浏览代码

Merge pull request #10326 from tetrapod00/shadow-cull-mask

Document Light3D shadow caster mask property
Max Hilbrunner 8 月之前
父节点
当前提交
ba8739a3cd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      tutorials/3d/lights_and_shadows.rst

+ 2 - 0
tutorials/3d/lights_and_shadows.rst

@@ -125,6 +125,8 @@ There is a list of generic shadow parameters, each also has a specific function:
   moving objects. The downside of increasing shadow blur is that it will make
   moving objects. The downside of increasing shadow blur is that it will make
   the grainy pattern used for filtering more noticeable.
   the grainy pattern used for filtering more noticeable.
   See also :ref:`doc_lights_and_shadows_shadow_filter_mode`.
   See also :ref:`doc_lights_and_shadows_shadow_filter_mode`.
+- **Caster Mask:** Shadows are only cast by objects in these layers. Note that
+  this mask does not affect which objects shadows are cast *onto*.
 
 
 .. image:: img/lights_and_shadows_blur.webp
 .. image:: img/lights_and_shadows_blur.webp