For several classes of models (continuous space polymer models in positive and zero temperature, HJB equations in dynamic random environments, anisotropic continuous space FPP models), we show that the shape function also known as the effective Lagrangian in the homogenization context is differentiable everywhere (except at the origin in the FPP case) and give a formula for its gradient. Joint work with Douglas Dow.