Cleaned up luminance logic in bloom effect.