Point Light in Unity
Notes:
Point Light in Unity:
4. Point light
Point light emits light in all directions in a specified range; in spherical shape.
Ex: is used while creating Lamps, Bulbs, Fire effects etc.
Creating spot light:
GameObject Menu - Light - Point light
Point light properties:
Type:
indicates type of light (Directional, Spot, Point, Area)
Mode of Lighting (Baking):
indicates the mode of light, whether this light is real time or backed
Range:
indicates how far the light is emitted
Color:
indicates the color of the emitted light
Intensity:
indicates the brightness of the emitted light
Indirect multiplier:
indicates the brightness of the light that has bounced from one object to another
Shadow type:
indicates whether the light casts hard or soft shadows or no shadows
- Strength:
- indicates how dark shadows casted
- Resolution:
- indicates resolution of shadows casted
- Bias:
- indicates distance of shadows casted
- Normal Bias:
- indicates how much shadows casted shrunk or spread
- Shadow Near Plane: works for range based lights
- indicates shadows casted clipping in units
Cookie:
indicates the texture mask for a light
- Note: Works only for no shadows
- EX: patterned illumination of lights
Applying Cookie:
Import star_cookie texture
Texture Type – Cookie
Light Type - Point
Mapping: 6 frames cubic layout
Alpha Source - From Gray scale
Wrap mode - Clamp / Repeat
Apply
Drag star_cookie to Cookie property of light
Draw halo:
Draws a spherical halo at the light's position equal to light range value
Flare:
Draws a Flare light at the light's position (Sun)
- Note: Import Light Flares effects from standard assets
Render mode:
Affects the degree of exactness & performance of lighting
- Auto: Rendering method is determined at run time,
- Important: rendered at per pixel basis
- Not important: rendered at per vertex basis
Culling mask:
- Select the layer which should not be affected by this light