Expand description
The light prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structsยง
- Ambient
Light - An ambient light, which lights the entire scene equally.
- Directional
Light - A Directional light.
- Environment
MapLight - A pair of cubemap textures that represent the surroundings of a specific area in space.
- Generated
Environment MapLight - A generated environment map that is filtered at runtime.
- Light
Probe - A marker component for a light probe, which is a cuboid region that provides global illumination to all fragments inside it.
- Point
Light - A light that emits light in all directions from a central point.
- Spot
Light - A light that emits light in a given direction from a central point.