Unity2019_Lighting system

1. Lighting components

Directional light simulates sunlight

Point light source simulates light bulb

Spotlight simulates stage lighting

Area light can only be used in bake mode

Material's self-illumination

Area light can only be used in baking mode. Below is the baking mode.

 Adjust the area light color to purple, create two cubes, check one as static, and then click GenerateLighting under LightingSettings. The following is the effect after baking.

 2. Lighting settings

Environment, real-time lighting, mixed lighting, light map settings, other settings

The ambient light mainly sets the material ball and lighting coefficient. After selecting, click GenerateLighting.

 

 Real-time lighting, mixed lighting, and mixed lighting cannot be baked after being unchecked.

 Other settings mainly set the fog effect and haloStrength.

3. Self-luminous

Only static objects will be affected by self-illumination. Create a new material, check Emission, select the texture, click HDR to select the color, and adjust the brightness.

 4. Light detector

5. Reflection detector

Guess you like

Origin blog.csdn.net/qq_35647121/article/details/122909256