The invention relates to a light microscope comprising a light source device for emitting illumination light in the direction of a sample, a detector device for recording sample images of the sample and optical imaging means for focusing illumination light as light spot pattern onto a height plane at the sample and for guiding sample light from the sample to the detector device. The light source device and the optical imaging means are designed to illuminate a plurality of mutually spaced apart lateral regions of the sample with the light spot pattern during a camera integration time of the detector device. According to the invention, the light microscope is characterized in that the light source device, the optical imaging means and the detector device are designed to enable recordings of at least two sample images in which the light spot patterns are focused onto different height planes and/or in which different height planes are imaged onto the detector device, wherein the light source device, the optical imaging means and the detector device are arranged spatially identically for each of the recordings of the different sample images. In this case, identical lateral regions of the sample are illuminated in each of the at least two sample images. In addition, electronic evaluation means are present and designed to calculate height information of the sample with the aid of the at least two sample images. In addition, the invention relates to a corresponding method for examining a sample using a light microscope.