A process for dispensing fluid foodstuff material into a shaping cavity of a mould, comprising the steps of: - advancing a plurality of moulds (M1, M2) on a conveying line, along an advancement direction, each comprising at least one shaping cavity; - providing a dispensing machine along said conveying line provided with a formation of nozzles (6; 61, 62, 63) comprising at least one line of nozzles arranged along a direction transversal to said advancement direction; - carrying said moulds (M1, M2) one after another, by means of said conveying line, to said nozzle formation (6; 61, 62, 63), and - dispensing a given quantity of said material through one or more of said nozzles, into said at least one shaping cavity of a mould that has reached said nozzle formation, said process being characterized in that: - said dispensing step is executed while said mould continues to advance below said nozzle formation (6; 61, 62, 63), along said advancement direction, - said at least one shaping cavity of said mould has a depth that varies along said advancement direction; - said dispensing step comprises varying the quantity of material dispensed into said shaping cavity as a function of the position of said mould along said advancement direction in such a way that the dispensed quantity is a function of the depth variation within said shaping cavity so that a smaller quantity is dispensed where the cavity is shallower, and instead a greater quantity is dispensed where the cavity is deeper. comprising the steps of: - advancing a plurality of moulds (M1, M2) on a conveying line, along an advancement direction, each comprising at least one shaping cavity; - providing a dispensing machine along said conveying line provided with a formation of nozzles (6; 61, 62, 63) comprising at least one line of nozzles arranged along a direction transversal to said advancement direction; - carrying said moulds (M1, M2) one after another, by means of said conveying line, to said nozzle formation (6; 61, 62, 63), and - dispensing a given quantity of said material through one or more of said nozzles, into said at least one shaping cavity of a mould that has reached said nozzle formation, - advancing a plurality of moulds (M1, M2) on a conveying line, along an advancement direction, each comprising at least one shaping cavity; - providing a dispensing machine along said conveying line provided with a formation of nozzles (6; 61, 62, 63) comprising at least one line of nozzles arranged along a direction transversal to said advancement direction; - carrying said moulds (M1, M2) one after another, by means of said conveying line, to said nozzle formation (6; 61, 62, 63), and - dispensing a given quantity of said material through one or more of said nozzles, into said at least one shaping cavity of a mould that has reached said nozzle formation, said process being characterized in that: - said dispensing step is executed while said mould continues to advance below said nozzle formation (6; 61, 62, 63), along said advancement direction, - said at least one shaping cavity of said mould has a depth that varies along said advancement direction; - said dispensing step comprises varying the quantity of material dispensed into said shaping cavity as a function of the position of said mould along said advancement direction in such a way that the dispensed quantity is a function of the depth variation within said shaping cavity so that a smaller quantity is dispensed where the cavity is shallower, and instead a greater quantity is dispensed where the cavity is deeper. - said dispensing step is executed while said mould continues to advance below said nozzle formation (6; 61, 62, 63), along said advancement direction, - said at least one shaping cavity of said mould has a depth that varies along said advancement direction; - said dispensing step comprises varying the quantity of material dispensed into said shaping cavity as a function of the position of said mould along said advancement direction in such a way that the dispensed quantity is a function of the depth variation within said shaping cavity so that a smaller quantity is dispensed where the cavity is shallower, and instead a greater quantity is dispensed where the cavity is deeper.