Method for producing a moulded body by building up layers of powder material, comprising the steps of: a) preparing a layer of powder material, b) heating the layer by irradiating the layer using controlled radiation in a locationally selective manner, corresponding to a cross-sectional pattern of the moulded body that is assigned to the layer, on the basis of geometric description data of the moulded body, such that the powder material is solidified by melting to form contiguous regions corresponding to the cross-sectional pattern of the moulded body, c) preparing a next layer of powder material on the most recently irradiated layer and d) heating the most recently prepared layer by irradiating the layer using controlled radiation in a locationally selective manner, corresponding to a cross-sectional pattern of the moulded body that is assigned to said layer, such that the powder material is solidified by melting to form contiguous regions corresponding to said cross-sectional pattern of the moulded body, and e) repeating steps c) and d) multiple times, at least until the structure of the moulded body is completed, the locationally selective energy input per unit of time that occurs by means of the irradiation in the irradiation steps d) being variable by means of radiation depending on the relevant irradiation location on the powder layer, characterised in that in the irradiation steps d) the locationally selective energy input per unit of time at a relevant irradiation location (I - IV) on the relevant layer is selected depending on the thermal conductivity of a relevant defined, immediate, three-dimensional surrounding region of the irradiation location (I - IV) that extends downwards over at least three layers, in particular over at least one hundred layers, below the relevant irradiation location (I - IV), and said energy input is correspondingly automatically modulated by adjusting irradiation parameters, such as the energy density of the radiation at the irradiation location and/or the duration of the irradiation of the irradiation location, the volume fraction of material within said surrounding region that is already solidified by melting material powder being determined from geometric description data of the moulded body as a measure of the thermal conductivity of the defined, immediate, three-dimensional surrounding region of the relevant irradiation location that extends downwards over at least three layers, in particular over at least one hundred layers, below the relevant irradiation location (I - IV), and the locationally selective energy input per unit of time at the irradiation location being selected to be greater within possible tolerances, the greater the thermal conductivity of the surrounding region thereof. a) preparing a layer of powder material, b) heating the layer by irradiating the layer using controlled radiation in a locationally selective manner, corresponding to a cross-sectional pattern of the moulded body that is assigned to the layer, on the basis of geometric description data of the moulded body, such that the powder material is solidified by melting to form contiguous regions corresponding to the cross-sectional pattern of the moulded body, c) preparing a next layer of powder material on the most recently irradiated layer and d) heating the most recently prepared layer by irradiating the layer using controlled radiation in a locationally selective manner, corresponding to a cross-sectional pattern of the moulded body that is assigned to said layer, such that the powder material is solidified by melting to form contiguous regions corresponding to said cross-sectional pattern of the moulded body, and e) repeating steps c) and d) multiple times, at least until the structure of the moulded body is completed, the locationally selective energy input per unit of time that occurs by means of the irradiation in the irradiation steps d) being variable by means of radiation depending on the relevant irradiation location on the powder layer, characterised in that in the irradiation steps d) the locationally selective energy input per unit of time at a relevant irradiation location (I - IV) on the relevant layer is selected depending on the thermal conductivity of a relevant defined, immediate, three-dimensional surrounding region of the irradiation location (I - IV) that extends downwards over at least three layers, in particular over at least one hundred layers, below the relevant irradiation location (I - IV), and said energy input is correspondingly automatically modulated by adjusting irradiation parameters, such as the energy density of the radiation at the irradiation location and/or the duration of the irradiation of the irradiation location, the volume fraction of material within said surrounding region that is already solidified by melting material powder being determined from geometric description data of the moulded body as a measure of the thermal conductivity of the defined, immediate, three-dimensional surrounding region of the relevant irradiation location that extends downwards over at least three layers, in particular over at least one hundred layers, below the relevant irradiation location (I - IV), and the locationally selective energy input per unit of time at the irradiation location being selected to be greater within possible tolerances, the greater the thermal conductivity of the surrounding region thereof.