Light vs LightProbe
Light probes are an alternative way of adding light to 3D scenes. In contrast to
LightProbe doesn't emit light directly and is usually generated by environment maps.
AmbientLight globally illuminates all objects in the scene equally.
- No direction, cannot be used to cast shadows
- also available as LightProbe:
Light that gets emitted in a specific direction. It will behave as it is infinitely far away. Light rays are all cast in parallel. This is like the sun.
This light can cast shadows, see DirectionalLightShadow for details.
HemisphereLight is a light source positioned directly above the scene.
- light is fading from a
- no direction
- cannot be used to cast shadows
- also available as LightProbe class:
PointLight emits light from a single point in all directions.
- Common use case: light bulb.
- can cast shadows, see PointLightShadow
SpotLight emits from a single point alonng a cone.
- can cast shadows, see SpotLightShadow
RectAreaLight emits light across the face a rectangular plane.
- can be used to simulate light sources such as bright windows
- no shadow support
- additional include needed: