He invented the camera obscura, the precursor to the pinhole camera, to demonstrate how light can be used to project an image onto a flat surface. Earlier references to the camera obscura have been found in Chinese texts dating to about 400 B.C. and in the writings of Aristotle around 330 B.C.
A. True
Shaw did believe that all art should have some kind of 'message' but he wouldn't have necessarily called it a 'moral message'