In case this could help someone to help me, I noticed that the "problem" happens when photoshop merges all the layers before exporting the image. In fact if I merge the layers within photoshop I get the same "flattened" look as in the exported images.