Gamma-Entropy cost for scalar conservation laws