In a method for fabricating, on a substrate, a radiation detector including at least one unit pixel, the method comprising for each pixel of the detector: in a first layer-forming step, forming a first layer, of a first material having a respective coefficient of thermal expansion, of each of first and second displaceable members; in a second layer-forming step, forming a second layer, of a second