The influence of foams on the uniformity of laser energy deposition has been studied by measuring laser-driven shock waves breakout from foam-aluminum layered targets. Well characterized laser nonuniformities have been produced first by using phase zone plates to get a smooth beam and then by inserting different opaque grids before the foam. Smoothing has been studied as a function of foam density and grid materials (producing different radiative effects).