Glitter on black /white

I need to know how glitter on black /white effect is work
Can you help me?

The effect is called lumakey. You could also select specific colors with chromakey.

I have chromakey and lumakey patches in the texture utils