Towards a Generalized Beer-Lambert Law