Four types of light sources: Impact Factors
Direction Lights: Direction light changes angle
Point Lights: spot light can change position
Spot Lights: spot change position and angle
Area Lights: : Zone light cannot be applied to real-time lighting
Detailed description of each property:
- Type : Types of lights, light type selected
2.Color: Light color
3. Intensity: Light intensity
4.Cookie: Set the map Alpha channel. (A transparent map is placed in this property as a mask, thereby passing
A lighting effect that strikes the ground to form a desired shape.
5.Cookie size: Set map Alpha channel size, contrast diagram
6.Draw Halo: Draws a glow (uses a misty effect in the light). If this option is checked, a star's halo is drawn. The radius of the halo equals the span range )
- Flare: Sets the flash effect of the light source. The flash used to render on the light position.
- Rendermode: The rendering pattern of the light source (rendering priority). Select whether the light source is a fixed-point or pixel-light Pixel, or an automatic rendering method
The main explanation: light on the rendering speed has a very large impact, so must weigh the front and rear lighting quality and game speed
because pixel lighting is more expensive than vertex lighting (more resource-intensive) Unity will render only the brightest light per pixel.
- Culling Mask: Specifies that layers are not affected by lighting by layer settings.
Small white _unity engine _ Light