Patent Document ID: 9979894
Application ID: 14469540
Patent Status: 1

Claim One:
1. A method comprising: receiving input indicating a location on a displayed two-dimensional (2-D) image at which to position a light source element that provides a simulated light source; causing a direction control to be displayed in association with the light source element, wherein the direction control is configured to be adjusted based on user input from a user to cause change in an angle of illumination of the simulated light source associated with the light source element with respect to the image, wherein the change in the angle of illumination of the simulated light source is in accordance with the adjustment of the direction control; and adjusting pixel values of the image to cause an illumination effect in the image based on the location of the light source element and based on the angle of illumination of the simulated light source with respect to one or more surfaces depicted in the image, wherein adjusting the pixel values includes: determining normal vectors for surfaces of one or more faces depicted in the image; determining that one or more areas of the image different than the one or more faces have a light reflection that is the same as a light reflection on the one or more faces; and determining normal vectors for the one or more areas of the image different than the one or more faces based on the normal vectors for the surfaces of the one or more faces.