An optical film comprising an optical element capable of forming a spatial
distribution of light transmittance, and a light shield layer positioned
on an opposite side of the optical element. The light shield layer is
composed of a compound which changes light transmittance permanently
depending on irradiation of an energy beam, and has light transmitting
regions near a position corresponding to the optical element and light
shielding regions at positions other than the light transmitting regions.
The light shielding regions have a smaller light transmittance than the
light transmittance of the light transmitting regions.