Light Sources

Light sources locally simulate realistic lighting from objects such as lamps, torches, spotlights, and TV screens. By using the different types of light sources instead of just general global lighting through the Lighting service, you can create immersive environments such as cyberpunk cities, traditional light festivals, and moody detective scenes.

A far out view of a diner bulding in the middle of a nighttime city. The diner is utilizing several local light sources.

Light Types

Light types include Point Light, Spotlight, and Surface Light. Each shares various properties from the Light class, including Color, Brightness, and Shadows.

Point Light

A PointLight emits light spherically from a single point. This object is ideal for non-directional lights like bulbs, torches, and fireballs.

A point light's Range property defines the radial distance of illumination from the light's position, measured in studs.

A street lamp point light with a small range.
Range = 8
The same street lamp point light with a larger range.
Range = 12

To create a PointLight in Studio:

  1. In the Explorer window, hover over an Attachment or a BasePart and click the ⊕ button (Attachment is recommended for point‑specific light emission).
  2. From the menu, insert a PointLight.
  3. Adjust the light's Range as well as shared properties like Brightness and Color.

Spotlight

A SpotLight emits light in the shape of a cone with a spherical base. This object is ideal for directional lights like street lamps, flashlights, and headlights.

The spotlight's Face property determines which face/axis light emits from, as shown from the following streetlamp's glowing light part:

A street lamp spotlight that emits light from its bottom face.
Face = Bottom
A street lamp spotlight that emits light from its left face.
Face = Left

A spotlight's Angle property defines the angle of light emission from the cone's apex. The maximum value is 180 which illuminates a full half sphere from the apex.

A street lamp spotlight with a 30 degree angle of emission.
Angle = 30
The same street lamp spotlight with a 75 degree angle of emission.
Angle = 75

To create a SpotLight in Studio:

  1. In the Explorer window, hover over an Attachment or a BasePart and click the ⊕ button.
  2. From the menu, insert a SpotLight.
  3. Set the light's Face property to specify which direction light emits from.
  4. Adjust the light's Angle and Range, as well as shared properties like Brightness and Color.

Surface Light

A SurfaceLight emits light from the face of a BasePart. This object is ideal for lighting from TV or computer screens, billboards, and fluorescent panels.

A surface light's Face property determines the face of the BasePart from which light emanates. Notice that light emits from the entire surface, not just a point on the surface.

A sign surface light that emits light from its bottom face.
Face = Bottom
A sign surface light that emits light from its right face.
Face = Right

A surface light's Angle property defines the angle of light emission from the part's surface. An angle of 0 means that light travels directly outward from the surface while an angle of 180 means light travels outward perpendicular to the surface.

A sign surface light with a 0 degree angle of emission.
Angle = 0
A sign surface light with a 60 degree angle of emission.
Angle = 60

To create a SurfaceLight in Studio:

  1. In the Explorer window, hover over a BasePart and click the ⊕ button.
  2. From the menu, insert a SurfaceLight.
  3. Set the light's Face property to specify which surface light emits from.
  4. Adjust the light's Angle and Range, as well as shared properties like Brightness and Color.

Shared Properties

All light sources share various properties from the Light class, including color, brightness, and shadows.

Color

The Color property sets the Color3 value of the emitted light.

A torch that emits red light.
Color = [255, 100, 50]
A torch that emits green light.
Color = [0, 255, 125]
A torch that emits blue light.
Color = [75, 150, 255]

Brightness

The Brightness property sets the light's brightness with maximum effect at the center of the light. Note that Brightness is still limited to the light's defined range, so a higher Brightness value doesn't light up a larger region around the light.

A torch that emits low light.
Brightness = 2
A torch that emits medium light.
Brightness = 10
A torch that emits bright light.
Brightness = 50

Shadows

The Shadows property projects shadows where light is blocked by an obstacle.

A corner view of the diner with shadows enabled.
Shadows = Enabled
A corner view of the diner with shadows disabled.
Shadows = Disabled