I know I can separate RGB into 3 branches and assign different functions to each one. This selecting method doesn't work if there are white lights in the scene so I need to add an additional criteria to make this system work. Can I add a criteria that the light has to be at a certain distance from an empty?
Can I do the node version of this?:
Does the light (have a value in the RED channel) AND is the light (distance of empty > 1km) then 1 else 0.




