I should mention that if you hook the output of the custom node directly to the emissive you will get this: