Update 2d_lights_and_shadows.rst to fix ref link

This commit is contained in:
LDouglas23
2023-04-01 01:03:08 +01:00
committed by GitHub
parent ca94970356
commit 3ecaaf5f30

View File

@@ -36,7 +36,7 @@ There are several nodes involved in a complete 2D lighting setup:
- :ref:`CanvasModulate <class_CanvasModulate>` (to darken the rest of the scene)
- :ref:`PointLight2D <class_PointLight2D>` (for omnidirectional or spot lights)
- :ref:`DirectionalLight2D <class_PointLight2D>` (for sunlight or moonlight)
- :ref:`DirectionalLight2D <class_DirectionalLight2D>` (for sunlight or moonlight)
- :ref:`LightOccluder2D <class_LightOccluder2D>` (for light shadow casters)
- Other 2D nodes that receive lighting, such as Sprite2D or TileMap.