기술 자료

지원

Directional light

Learn about directional lights and their properties.
읽는 시간 1분최근 업데이트: 5일 전

A directional light emits uniform lighting across the entire scene. Use these lights to simulate sunlight or other distant light sources. This light type illuminates all objects in the scene equally, regardless of the position of the light.
Rotate the light to simulate different times of day. Tilt the light sideways to create sunset effects, point upwards to create the night sky effect.
To change your light to a point light or spot light, open the light's Inspector window and change Type to your preferred light.

Directional light properties

The following options are available when you set Type to Directional in the Light component:

Property

Description

Color Set the color your light emits.
Intensity Define how bright the light is in your scene. The higher the value, the more intense the light appears.
Shadow Type Set how this light casts shadows:
  • Soft Shadows: Shadows have blurred edges. Use for indirect or softer light sources, and to create a more natural, realistic look.
  • Hard Shadows: Shadows are deep and have sharp edges. Use for direct or harsh lights, or for more stylized visuals. These shadows are typically faster to render than soft shadows.
  • No Shadows: The light casts no shadows. Use for areas where you don't want shadows, UI elements, distant/background elements, or to improve performance.

Additional resources