Light Attenuation

Light Attenuation

Enable inverse square attenuation by adding #define SQUARE_FALLOFF_ATTENUATION to the config (disabled by default).

To match point lights with bakery point lights enable physically based light falloff. For spot lights use the cone projection mask with 80% inner angle.

Image

Image

Image

Spot lights use angle attenuation, instead of the default unity cookie texture.

Image

Image