square input array for approx. linear light (assume gamma = 2)