in Envelope.bake, check refractMag value