What is a cube map rgb ? / toon shader

In unity the toon shader has two slots …one for the texture and one for a “cube map rgb” does anyone know what the cube map rgb is and what it does?

The cubemap is used for the lighting instead of lights. Have a look at the example material. It contains the “toony lighting” cubemap and should give you an idea.

The “RGB” just says that the cube map is supposed to have red, green and blue components (and may or not have an alpha component).