The attractiveness of a firefly depends on its brightness. The firefly which has less brightness is attracted by a firefly which has more brightness. The increasing distance between fireflies decreases their attractiveness. The environment absorbs the light, when the distance increases.