# cookie

> The cookie texture projected by the light.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public Texture cookie { get; set; }
```

### Remarks

[LightType.Point](/engine/6000.0/script-reference/unityengine/lighttype/point.md) lights require a cube map texture. If the cookie is a cube map, the light will become a [LightType.Point](/engine/6000.0/script-reference/unityengine/lighttype/point.md) 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](/engine/6000.0/manual/lighting-overview/lighting-birp/class-light.md).
