# Sampler Sphere

The Sampler Sphere is just a very small, simple white sphere with the default white material on it.

{% hint style="success" %}
You do not have to do anything to the Sampler Sphere. This page is for informational purposes only 🎉
{% endhint %}

<figure><img src="https://2431624982-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MY3N_li2jPq7az6mYfq%2Fuploads%2FOCD4X2hQzFibtl3SisdL%2FScreenshot%202023-11-07%20at%208.39.14%20PM.png?alt=media&#x26;token=563bbcac-6ce2-457c-9bdf-a37caea28998" alt=""><figcaption></figcaption></figure>

Note the layer is set to **ColorSampler**.

{% hint style="warning" %}
Unity won't import layers when you import the project, and since you may already have layers set up, it would be dangerous for the package to do this for you. Please make sure you create a "ColorSampler" layer, and assign that to the sphere.
{% endhint %}

⚠️ Each light, if you'd like it to contribute to the sample, should include this layer in its Culling Mask.

⚠️ Your main camera can exclude this layer, so that it doesn't accidentally draw the Sampler Sphere in the scene.

The Sphere is very small, so that the chance of anything coming between it and the [**Sampler Camera**](https://infinitypbr.gitbook.io/magic-pig-games/other/runtime-color-sampler/runtime-color-sampler-prefab-and-class/sampler-camera) is minimized. However, this is possible. If the Sampler Camera is blocked, the average color will change.&#x20;

If your [**Runtime Listener**](https://infinitypbr.gitbook.io/magic-pig-games/other/runtime-color-sampler/runtime-listener) objects have a transition time set, then any impact from a brief block of the Sampler Sphere will me minimal, and perhaps not noticed at all.
