Index material not working! Help!

Hello,

so i have a large scene with a lot of lights (in cycles) and so i gave each Emission material an “Index Pass” of 1 (to all coloured lights, e.g green, white, red, all have an “Index Pass” of 1). However when i come to composite and add a glare to these lights (the red, green and white), they all have white streaks (the green and red lights have white streaks instead of red or green). I don’t know whats happening? By the way, I enabled “Material Index” in the layers tab, and i also added an “ID Mask” in the compositor which i set to 1.

So is there a way to get different coloured streaks to different coloured lights, e.g. red streaks for Red light, green streaks for green light, not white streaks for green light, or white streaks for red light.

PLEASE REPLY! This is urgent!

Thank you :slight_smile: