Light.cookie

Switch to Manual
public Texture cookie;

Description

The cookie texture projected by the light.

LightType.Point lights require a cube map texture. If the cookie is a cube map, the light will become a LightType.Point light.
Note that cookies are displayed for pixel ("important") and baked/mixed lights, but not for vertex/SH ("not important") lights.
Additional resources: Light component.


Did you find this page useful? Please give it a rating: