Explorar el Código

Add note about shadow casting and light cull masks in 3D lights and shadows (#4925)

Co-authored-by: Hugo Locurcio <[email protected]>
obviousscholar hace 4 años
padre
commit
1efd7d7539
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      tutorials/3d/lights_and_shadows.rst

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

@@ -37,6 +37,9 @@ Each one has a specific function:
 -  **Specular**: Affects the intensity of the specular blob in objects affected by this light. At zero, this light becomes a pure diffuse light.
 -  **Bake Mode**: Sets the bake mode for the light. For more information see :ref:`doc_baked_lightmaps`
 -  **Cull Mask**: Objects that are in the selected layers below will be affected by this light.
+   Note that objects disabled via this cull mask will still cast shadows.
+   If you don't want disabled objects to cast shadows, adjust the ``cast_shadow`` property on the
+   GeometryInstance to the desired value.
 
 Shadow mapping
 ^^^^^^^^^^^^^^