# [Unity3D] Light Sources and Lightmapping (Lightmaps)

> Light sources 1. Direct/Parallel Light (Driectional Light) == sun Position has no effect on the scene; the directional effect is similar to the sun; the sun is behind the light source. 2. Point Light == light bulb, illuminates a spherical space Intensity: intensity Range: range 3. Spotlight…

- Published: 2018-05-30
- Tags: 3D, GamePlay, Unity, Unity3D, Unity Notes
- View HTML version: https://bilibili.cat/en/posts/unity-lightmapping
- Translated by AI from 中文: https://bilibili.cat/posts/unity-lightmapping

---

## Light Sources

1.  Direct/Parallel Light (Driectional Light) == sun  
    Position has no effect on the scene; the directional effect is similar to the sun; the sun is behind the light source.
2.  Point Light == light bulb, illuminates a spherical space  
    Intensity: intensity  
    Range: range
3.  Spotlight == flashlight, illuminates the conical area in front  
    Spot Angle: cone angle
4.  Area Light  
    Generally used in baking to render atmosphere.

## Lightmapping (Lightmaps)

-   Saves performance, avoids real-time calculation of lighting effects.

### How to use:

1.  Window -> Lighting
2.  Check *StaticLight* ModeMixed/Baked for all scenes
3.  Check *Shadow Type* for the campfire effect
