1. A method for generating a three-dimensional image, the method comprising: determining, using a light-field camera, a depth map corresponding to an environment, the depth map representing how light falls in the environment; determining a parallax occlusion map of the environment; creating, using the depth map and the parallax occlusion map, a three-dimensional image representing the environment; taking a first picture of an environment, using a light-field camera, with a first flash intensity; taking a second picture of the environment, using a light-field camera, with a second flash intensity greater than the first flash intensity; determining, using at least in part a light-field camera, differences between the first picture of the environment and the second picture of the environment; and determining one or more properties of the environment based at least in part on the determined differences.